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

18 lines
243 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);
}
}