From 01406ad25ff49d5c5f722f34187d2063cefea5ed Mon Sep 17 00:00:00 2001 From: pacien Date: Wed, 6 Jun 2018 14:14:55 +0200 Subject: require main func and rename tests --- res/test_if.tpc | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 res/test_if.tpc (limited to 'res/test_if.tpc') diff --git a/res/test_if.tpc b/res/test_if.tpc deleted file mode 100644 index 054811b..0000000 --- a/res/test_if.tpc +++ /dev/null @@ -1,22 +0,0 @@ -/* test-table-symboles.tpc */ - -/* Test file for simplified translator of a declaration of variables in C */ - -entier main(void) { - entier bool1, bool2; - bool1 = 0; - bool2 = 0; - if(bool1 == bool2){ - if(bool1 != bool2){ - print('n'); - } - else{ - if(bool1 <= bool2){ - print('o'); - return 0; - } - print('n'); - } - } - return 0; -} -- cgit v1.2.3