projet-traduction-langage/fichiersRat/src-rat-tds-test/testDoubleDeclarationVariable3.rat

16 lines
175 B
Plaintext
Raw Normal View History

2021-11-24 13:13:45 +00:00
int add (int a int b){
return (a+b);
}
int add2 (int a int b ){
return (a+b);
}
test{
int x = 3;
if (x < 3){
rat x = [4/2];
}else{
bool x = false;
}
}