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