projet-traduction-langage/fichiersRat/src-rat-tds-test/test.rat
2021-11-24 14:13:45 +01:00

18 lines
247 B
Plaintext

int add (int a int b){
int c = 0;
c = (0 + a);
return (a+(b+c));}
test{
int x = 3;
x = 4;
const y = 5;
int z = (x+y);
if(x<0){
bool x1 = true;
x1 = false;
}else{
rat x2 = [4/3];
int e = call add (num x2 y);
}
}