summaryrefslogtreecommitdiff
path: root/Tests/TestDriver/test2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/TestDriver/test2.cxx')
-rw-r--r--Tests/TestDriver/test2.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/TestDriver/test2.cxx b/Tests/TestDriver/test2.cxx
new file mode 100644
index 000000000..69f0fff17
--- /dev/null
+++ b/Tests/TestDriver/test2.cxx
@@ -0,0 +1,8 @@
+#include <stdio.h>
+int test2(int ac, char*av[])
+{
+ printf("test2\n");
+ for(int i =0; i < ac; i++)
+ printf("arg %d is %s\n", ac, av[i]);
+ return 0;
+}