summaryrefslogtreecommitdiffstats
path: root/Tests/TryCompile/stdout_and_stderr.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/TryCompile/stdout_and_stderr.c')
-rw-r--r--Tests/TryCompile/stdout_and_stderr.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/TryCompile/stdout_and_stderr.c b/Tests/TryCompile/stdout_and_stderr.c
new file mode 100644
index 0000000..84ded1f
--- /dev/null
+++ b/Tests/TryCompile/stdout_and_stderr.c
@@ -0,0 +1,8 @@
+#include <stdio.h>
+
+int main()
+{
+ fputs("error\n", stderr);
+ puts("hello world\n");
+ return 0;
+}