summaryrefslogtreecommitdiffstats
path: root/test/AR
diff options
context:
space:
mode:
Diffstat (limited to 'test/AR')
-rw-r--r--test/AR/AR.py3
-rw-r--r--test/AR/ARFLAGS.py3
2 files changed, 6 insertions, 0 deletions
diff --git a/test/AR/AR.py b/test/AR/AR.py
index cb11175..4048340 100644
--- a/test/AR/AR.py
+++ b/test/AR/AR.py
@@ -79,6 +79,9 @@ test.write('main.c', r"""
#include <stdio.h>
#include <stdlib.h>
+extern void
+library_function(void);
+
int
main(int argc, char *argv[])
{
diff --git a/test/AR/ARFLAGS.py b/test/AR/ARFLAGS.py
index d4d122e..fbca0ff 100644
--- a/test/AR/ARFLAGS.py
+++ b/test/AR/ARFLAGS.py
@@ -78,6 +78,9 @@ library_function(void)
test.write('main.c', r"""
#include <stdlib.h>
+extern void
+library_function();
+
int
main(int argc, char *argv[])
{