From 13e036c9ffcf670869b4682f8f6993cc6667ab07 Mon Sep 17 00:00:00 2001 From: Adam NAILI Date: Fri, 4 May 2018 11:19:08 +0200 Subject: IF/ELSE --- res/test_if.tpc | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 res/test_if.tpc (limited to 'res') diff --git a/res/test_if.tpc b/res/test_if.tpc new file mode 100644 index 0000000..04f7505 --- /dev/null +++ b/res/test_if.tpc @@ -0,0 +1,13 @@ +/* test-table-symboles.tpc */ + +/* Test file for simplified translator of a declaration of variables in C */ + +entier main(void) { + entier bool; + bool = 1; + if(bool){ + if(bool){ + print (bool); + } + } +} -- cgit v1.2.3