aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/rust/16 internal c dependencies/lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/rust/16 internal c dependencies/lib.c')
-rw-r--r--meson/test cases/rust/16 internal c dependencies/lib.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/meson/test cases/rust/16 internal c dependencies/lib.c b/meson/test cases/rust/16 internal c dependencies/lib.c
new file mode 100644
index 000000000..e852de6c5
--- /dev/null
+++ b/meson/test cases/rust/16 internal c dependencies/lib.c
@@ -0,0 +1,6 @@
+#include <stdio.h>
+#include "lib.h"
+
+void c_func(void) {
+ printf("This is a " MODE " C library\n");
+}