diff options
author | Adam NAILI | 2018-06-05 17:24:18 +0200 |
---|---|---|
committer | Adam NAILI | 2018-06-05 17:24:18 +0200 |
commit | f7760de088b7da0bca973fb40ef4112c24775ac4 (patch) | |
tree | 06ce6ef9ed41d0c1e891328a7731eb99f895e59f /res | |
parent | 4b53a522a626d2597f7a90c16b2aa16acbc62e6a (diff) | |
download | tpc-compiler-f7760de088b7da0bca973fb40ef4112c24775ac4.tar.gz |
Return fix
Diffstat (limited to 'res')
-rw-r--r-- | res/test_return.tpc | 5 |
1 files changed, 3 insertions, 2 deletions
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 @@ | |||
4 | entier r1,b,s,c,r2 ; | 4 | entier r1,b,s,c,r2 ; |
5 | caractere letter, digit, punct; | 5 | caractere letter, digit, punct; |
6 | 6 | ||
7 | entier test(void){ | 7 | caractere test(void){ |
8 | } | 8 | } |
9 | 9 | ||
10 | entier main(void) { | 10 | entier main(void) { |
11 | print(test()); | 11 | letter = test(); |
12 | print(letter); | ||
12 | return 0; | 13 | return 0; |
13 | } | 14 | } |