aboutsummaryrefslogtreecommitdiff
path: root/tests/hello_world.c
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-12-11 15:24:04 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-12-11 15:24:04 -0800
commitd13c1e87d550cb11b3502c10022039a41ac6ab10 (patch)
tree98edcb421c5cb49bc21a2cc206b9cc71cf29c973 /tests/hello_world.c
parent4191d90052d145d1a98c95d912b0965b0e1be5a7 (diff)
refactor temp files handling code, and first passing compilation test for emcc
Diffstat (limited to 'tests/hello_world.c')
-rw-r--r--tests/hello_world.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/hello_world.c b/tests/hello_world.c
new file mode 100644
index 00000000..cad52a2c
--- /dev/null
+++ b/tests/hello_world.c
@@ -0,0 +1,7 @@
+#include<stdio.h>
+
+int main() {
+ printf("hello, world!\n");
+ return 1;
+}
+