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_parameters_ok.tpc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 res/test_parameters_ok.tpc (limited to 'res/test_parameters_ok.tpc') diff --git a/res/test_parameters_ok.tpc b/res/test_parameters_ok.tpc new file mode 100644 index 0000000..479fb60 --- /dev/null +++ b/res/test_parameters_ok.tpc @@ -0,0 +1,18 @@ +/* test-table-symboles.tpc */ + +/* Test file for simplified translator of a declaration of variables in C */ + +void test2(caractere x,caractere y,caractere z){ + print(x); + print(y); + print(z); +} + +void test(void){ + test2('a','b','c'); +} + +entier main(void) { + test(); + return 0; +} -- cgit v1.2.3