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

20 lines
257 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 x = true;
x = false;
}else{
rat x = [4/3];
int e = call add (num x y);
print x;
}
}