summaryrefslogtreecommitdiff
path: root/Tests/CTestTest/SmallAndFast/echoargs.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CTestTest/SmallAndFast/echoargs.c')
-rw-r--r--Tests/CTestTest/SmallAndFast/echoargs.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/CTestTest/SmallAndFast/echoargs.c b/Tests/CTestTest/SmallAndFast/echoargs.c
new file mode 100644
index 000000000..6e17464f7
--- /dev/null
+++ b/Tests/CTestTest/SmallAndFast/echoargs.c
@@ -0,0 +1,11 @@
+#include <stdio.h>
+
+int main(int argc, const char* argv[])
+{
+ int i = 0;
+ for (; i<argc; ++i)
+ {
+ fprintf(stdout, "%s\n", argv[i]);
+ }
+ return 0;
+}