aboutsummaryrefslogtreecommitdiff
path: root/res/test_nomain_ko.tpc
diff options
context:
space:
mode:
authorAdam NAILI2018-06-06 14:31:40 +0200
committerAdam NAILI2018-06-06 14:31:40 +0200
commit901e95ebf54575d24e533383fabfc5e9d916bf39 (patch)
tree45498bf25c66fe97c81ff720458250cc363e136b /res/test_nomain_ko.tpc
parentcc1b72c1093dfd3bb0f41802a6a012402fa9717e (diff)
parent8a5ccc3b6e5e7a3ad064cc5cce1c4a1a9ac74aa8 (diff)
downloadtpc-compiler-901e95ebf54575d24e533383fabfc5e9d916bf39.tar.gz
Merge branch 'master' of https://github.com/pacien/upem-compil-tpc
Diffstat (limited to 'res/test_nomain_ko.tpc')
-rw-r--r--res/test_nomain_ko.tpc6
1 files changed, 6 insertions, 0 deletions
diff --git a/res/test_nomain_ko.tpc b/res/test_nomain_ko.tpc
new file mode 100644
index 0000000..570c5ca
--- /dev/null
+++ b/res/test_nomain_ko.tpc
@@ -0,0 +1,6 @@
1const c = 0;
2
3/* not a main */
4void f(void) {
5 print(c);
6}