From f7760de088b7da0bca973fb40ef4112c24775ac4 Mon Sep 17 00:00:00 2001 From: Adam NAILI Date: Tue, 5 Jun 2018 17:24:18 +0200 Subject: Return fix --- res/test_return.tpc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'res') diff --git a/res/test_return.tpc b/res/test_return.tpc index 241a1ba..f450203 100644 --- a/res/test_return.tpc +++ b/res/test_return.tpc @@ -4,10 +4,11 @@ entier r1,b,s,c,r2 ; caractere letter, digit, punct; -entier test(void){ +caractere test(void){ } entier main(void) { - print(test()); + letter = test(); + print(letter); return 0; } -- cgit v1.2.3