summaryrefslogtreecommitdiffstats
path: root/test cases/common/51 run target/helloprinter.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test cases/common/51 run target/helloprinter.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/test cases/common/51 run target/helloprinter.c b/test cases/common/51 run target/helloprinter.c
new file mode 100644
index 0000000..4a6e0ac
--- /dev/null
+++ b/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;
+}