aboutsummaryrefslogtreecommitdiff
path: root/res/test_return_ok.tpc
diff options
context:
space:
mode:
Diffstat (limited to 'res/test_return_ok.tpc')
-rw-r--r--res/test_return_ok.tpc14
1 files changed, 14 insertions, 0 deletions
diff --git a/res/test_return_ok.tpc b/res/test_return_ok.tpc
new file mode 100644
index 0000000..f450203
--- /dev/null
+++ b/res/test_return_ok.tpc
@@ -0,0 +1,14 @@
1/* test-table-symboles.tpc */
2
3/* Test file for simplified translator of a declaration of variables in C */
4entier r1,b,s,c,r2 ;
5caractere letter, digit, punct;
6
7caractere test(void){
8}
9
10entier main(void) {
11 letter = test();
12 print(letter);
13 return 0;
14}