compiler-design-eth/javali_tests/HW3_nop90/DoubleDeclarationsErrors/DoubleParamAndLocal.javali

10 lines
173 B
Text
Raw Permalink Normal View History

2020-01-15 22:32:25 +01:00
// test double declaration
// test local variable and parameter have same name
class Main {
void main() {}
int action(int p1, boolean p2) {
Object p1;
return 1;
}
}