diff options
author | pacien | 2018-06-06 14:14:55 +0200 |
---|---|---|
committer | pacien | 2018-06-06 14:14:55 +0200 |
commit | 01406ad25ff49d5c5f722f34187d2063cefea5ed (patch) | |
tree | 4d96a701aa1986abe79f2469ffd641c4123749bb /res | |
parent | 64d73526bf9d39ad9d3f04509f6656abde2240fd (diff) | |
download | tpc-compiler-01406ad25ff49d5c5f722f34187d2063cefea5ed.tar.gz |
require main func and rename tests
Diffstat (limited to 'res')
-rw-r--r-- | res/test_add_ok.tpc (renamed from res/test_add.tpc) | 0 | ||||
-rw-r--r-- | res/test_array_ok.tpc (renamed from res/test_array.tpc) | 0 | ||||
-rw-r--r-- | res/test_global_ok.tpc (renamed from res/test_global.tpc) | 0 | ||||
-rw-r--r-- | res/test_if_ok.tpc (renamed from res/test_if.tpc) | 0 | ||||
-rw-r--r-- | res/test_mul_ok.tpc (renamed from res/test_mul.tpc) | 0 | ||||
-rw-r--r-- | res/test_nomain_ko.tpc | 6 | ||||
-rw-r--r-- | res/test_parameters_ok.tpc (renamed from res/test_parameters.tpc) | 0 | ||||
-rw-r--r-- | res/test_read_ok.tpc (renamed from res/test_read.tpc) | 0 | ||||
-rw-r--r-- | res/test_return_ok.tpc (renamed from res/test_return.tpc) | 0 | ||||
-rw-r--r-- | res/test_sample_ko.tpc (renamed from res/ko_sample.tpc) | 0 | ||||
-rw-r--r-- | res/test_sample_ok.tpc (renamed from res/ok_sample.tpc) | 0 | ||||
-rw-r--r-- | res/test_table_symbols_ok.tpc (renamed from res/test-table-symboles.tpc) | 0 | ||||
-rw-r--r-- | res/test_while_ok.tpc (renamed from res/test_while.tpc) | 0 |
13 files changed, 6 insertions, 0 deletions
diff --git a/res/test_add.tpc b/res/test_add_ok.tpc index 848130c..848130c 100644 --- a/res/test_add.tpc +++ b/res/test_add_ok.tpc | |||
diff --git a/res/test_array.tpc b/res/test_array_ok.tpc index a968c22..a968c22 100644 --- a/res/test_array.tpc +++ b/res/test_array_ok.tpc | |||
diff --git a/res/test_global.tpc b/res/test_global_ok.tpc index d8b7d45..d8b7d45 100644 --- a/res/test_global.tpc +++ b/res/test_global_ok.tpc | |||
diff --git a/res/test_if.tpc b/res/test_if_ok.tpc index 054811b..054811b 100644 --- a/res/test_if.tpc +++ b/res/test_if_ok.tpc | |||
diff --git a/res/test_mul.tpc b/res/test_mul_ok.tpc index 62a8080..62a8080 100644 --- a/res/test_mul.tpc +++ b/res/test_mul_ok.tpc | |||
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 @@ | |||
1 | const c = 0; | ||
2 | |||
3 | /* not a main */ | ||
4 | void f(void) { | ||
5 | print(c); | ||
6 | } | ||
diff --git a/res/test_parameters.tpc b/res/test_parameters_ok.tpc index 479fb60..479fb60 100644 --- a/res/test_parameters.tpc +++ b/res/test_parameters_ok.tpc | |||
diff --git a/res/test_read.tpc b/res/test_read_ok.tpc index 6ad3632..6ad3632 100644 --- a/res/test_read.tpc +++ b/res/test_read_ok.tpc | |||
diff --git a/res/test_return.tpc b/res/test_return_ok.tpc index f450203..f450203 100644 --- a/res/test_return.tpc +++ b/res/test_return_ok.tpc | |||
diff --git a/res/ko_sample.tpc b/res/test_sample_ko.tpc index 9dc344f..9dc344f 100644 --- a/res/ko_sample.tpc +++ b/res/test_sample_ko.tpc | |||
diff --git a/res/ok_sample.tpc b/res/test_sample_ok.tpc index c8d3d9d..c8d3d9d 100644 --- a/res/ok_sample.tpc +++ b/res/test_sample_ok.tpc | |||
diff --git a/res/test-table-symboles.tpc b/res/test_table_symbols_ok.tpc index b2cc31e..b2cc31e 100644 --- a/res/test-table-symboles.tpc +++ b/res/test_table_symbols_ok.tpc | |||
diff --git a/res/test_while.tpc b/res/test_while_ok.tpc index 25d04c6..25d04c6 100644 --- a/res/test_while.tpc +++ b/res/test_while_ok.tpc | |||