This repository has been archived on 2022-12-27. You can view files and clone it, but cannot push or open issues or pull requests.
compilateurMIPS/tests/17_err-losing-variable.test

8 lines
126 B
Text
Raw Normal View History

2022-12-10 16:49:51 +01:00
int foo(int a) {
return a;
}
void main() {
2022-12-10 17:10:06 +01:00
void b = foo(1); # Error on line 6 col 17: Expected int but given void.
2022-12-10 16:49:51 +01:00
}