summary refs log tree commit diff stats
path: root/tinyc/examples/ex1.c
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2010-08-28 22:33:07 +0200
committerAraq <rumpf_a@web.de>2010-08-28 22:33:07 +0200
commit47886978c79a3246295114a853a9cd945d368708 (patch)
treef006dc90bb9c8c166214ca751af3739b89a73621 /tinyc/examples/ex1.c
parentb2075302b10b88047ea16007895bff4e46a2fa9c (diff)
downloadNim-47886978c79a3246295114a853a9cd945d368708.tar.gz
tiny C support; cosmetic improvements for the docs
Diffstat (limited to 'tinyc/examples/ex1.c')
-rwxr-xr-xtinyc/examples/ex1.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tinyc/examples/ex1.c b/tinyc/examples/ex1.c
new file mode 100755
index 000000000..28139f92e
--- /dev/null
+++ b/tinyc/examples/ex1.c
@@ -0,0 +1,8 @@
+#! /usr/local/bin/tcc -run
+#include <tcclib.h>
+
+int main()
+{
+    printf("Hello World\n");
+    return 0;
+}