aboutsummaryrefslogtreecommitdiff
path: root/tests/hello_world_exit.c
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-12-16 16:24:39 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-12-16 16:24:39 -0800
commit4fb00853a9998374666c85d89c350782b9e45250 (patch)
tree5eddfb302a1875343866296dd334f2b6c2e35b24 /tests/hello_world_exit.c
parent3b2466246537461a2d4811e93c659d23513d5408 (diff)
parent69317b35549ae38cf99c4c896d556803d58174cc (diff)
Merge pull request #1896 from juj/emrun
Emrun
Diffstat (limited to 'tests/hello_world_exit.c')
-rw-r--r--tests/hello_world_exit.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/hello_world_exit.c b/tests/hello_world_exit.c
new file mode 100644
index 00000000..febecc65
--- /dev/null
+++ b/tests/hello_world_exit.c
@@ -0,0 +1,9 @@
+#include<stdio.h>
+#include<stdlib.h>
+
+int main() {
+ printf("hello, world!\n");
+ fprintf(stderr, "hello, error stream!\n");
+ exit(100);
+}
+