diff options
Diffstat (limited to 'Tests/CTestTest/SmallAndFast/echoargs.c')
-rw-r--r-- | Tests/CTestTest/SmallAndFast/echoargs.c | 11 |
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 0000000000..6e17464f7b --- /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; +} |