aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/rust/5 polyglot static/prog.c
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/rust/5 polyglot static/prog.c')
-rw-r--r--meson/test cases/rust/5 polyglot static/prog.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/meson/test cases/rust/5 polyglot static/prog.c b/meson/test cases/rust/5 polyglot static/prog.c
new file mode 100644
index 000000000..dbbd8800a
--- /dev/null
+++ b/meson/test cases/rust/5 polyglot static/prog.c
@@ -0,0 +1,8 @@
+#include <stdio.h>
+
+void f();
+
+int main(void) {
+ printf("Hello from C!\n");
+ f();
+}