aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/51 run target/helloprinter.c
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/51 run target/helloprinter.c')
-rw-r--r--meson/test cases/common/51 run target/helloprinter.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/meson/test cases/common/51 run target/helloprinter.c b/meson/test cases/common/51 run target/helloprinter.c
new file mode 100644
index 000000000..4a6e0ac5d
--- /dev/null
+++ b/meson/test cases/common/51 run target/helloprinter.c
@@ -0,0 +1,11 @@
+#include<stdio.h>
+
+int main(int argc, char **argv) {
+ if(argc != 2) {
+ printf("I can not haz argument.\n");
+ return 1;
+ } else {
+ printf("I can haz argument: %s\n", argv[1]);
+ }
+ return 0;
+}