aboutsummaryrefslogtreecommitdiff
path: root/examples/ex1.c
diff options
context:
space:
mode:
authorThomas Preud'homme <thomas.preudhomme@celest.fr>2011-07-07 12:14:08 +0200
committerThomas Preud'homme <thomas.preudhomme@celest.fr>2011-07-07 12:14:08 +0200
commit571465d32bdbb3e17612983d75e799183b94c268 (patch)
tree28c12c47a1752e28adb70fee68feb5b69336a7eb /examples/ex1.c
parent4d6a4a26e08ef8581c70d29f578a42ab7d738c2d (diff)
downloadtinycc-571465d32bdbb3e17612983d75e799183b94c268.tar.gz
tinycc-571465d32bdbb3e17612983d75e799183b94c268.tar.bz2
Revert "Make examples' shebang use target tcc bindir path"
This reverts commit cb2138f8b098feb1b51a407343a4b99e25d5b506.
Diffstat (limited to 'examples/ex1.c')
-rwxr-xr-xexamples/ex1.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/ex1.c b/examples/ex1.c
new file mode 100755
index 0000000..28139f9
--- /dev/null
+++ b/examples/ex1.c
@@ -0,0 +1,8 @@
+#! /usr/local/bin/tcc -run
+#include <tcclib.h>
+
+int main()
+{
+ printf("Hello World\n");
+ return 0;
+}