aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/unit/67 static link/test2.c
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/unit/67 static link/test2.c')
-rw-r--r--meson/test cases/unit/67 static link/test2.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/meson/test cases/unit/67 static link/test2.c b/meson/test cases/unit/67 static link/test2.c
new file mode 100644
index 000000000..561422af0
--- /dev/null
+++ b/meson/test cases/unit/67 static link/test2.c
@@ -0,0 +1,6 @@
+int func4();
+
+int main(int argc, char *argv[])
+{
+ return func4() == 2 ? 0 : 1;
+}