projet-traduction-langage/fichiersRat/src-rat-type-test/test.rat

18 lines
243 B
Plaintext
Raw Normal View History

2021-11-24 13:13:45 +00:00
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);
}
}