aboutsummaryrefslogtreecommitdiff
path: root/res/test_parameters.tpc
blob: d7b2061fe509b67a91d6c5a1f23c61a3453488b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* test-table-symboles.tpc */

/* Test file for simplified translator of a declaration of variables in C */

entier test(entier a,entier b,entier c){
	entier x;
	entier y;
	y = 1;
	x = 21;
	print(x+y);
	return a*b+c;
}

entier main(void)  {
	print(test(6,2,3));
	return 0;
}