summaryrefslogtreecommitdiffstats
path: root/test cases/common/170 generator link whole/main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test cases/common/170 generator link whole/main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/test cases/common/170 generator link whole/main.c b/test cases/common/170 generator link whole/main.c
new file mode 100644
index 0000000..7605022
--- /dev/null
+++ b/test cases/common/170 generator link whole/main.c
@@ -0,0 +1,11 @@
+#include "meson_test_function.h"
+
+#include <stdio.h>
+
+int main(void) {
+ if (meson_test_function() != 19) {
+ printf("Bad meson_test_function()\n");
+ return 1;
+ }
+ return 0;
+}