summaryrefslogtreecommitdiffstats
path: root/tests/run-make/issue-14500/foo.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/issue-14500/foo.c')
-rw-r--r--tests/run-make/issue-14500/foo.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/run-make/issue-14500/foo.c b/tests/run-make/issue-14500/foo.c
new file mode 100644
index 000000000..2353d400d
--- /dev/null
+++ b/tests/run-make/issue-14500/foo.c
@@ -0,0 +1,7 @@
+extern void foo();
+extern char FOO_STATIC;
+
+int main() {
+ foo();
+ return (int)FOO_STATIC;
+}