summaryrefslogtreecommitdiff
path: root/Tests/CustomCommand/tcat.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CustomCommand/tcat.cxx')
-rw-r--r--Tests/CustomCommand/tcat.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/CustomCommand/tcat.cxx b/Tests/CustomCommand/tcat.cxx
new file mode 100644
index 000000000..89e3cb0a2
--- /dev/null
+++ b/Tests/CustomCommand/tcat.cxx
@@ -0,0 +1,11 @@
+#include <stdio.h>
+
+int main()
+{
+ int c;
+ while((c = getc(stdin), c != EOF))
+ {
+ putc(c, stdout);
+ }
+ return 0;
+}