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

8 lines
111 B
Text
Raw Normal View History

2020-01-15 22:32:25 +01:00
// Two fields in a class cannot share the same name
class Main {
void main() {}
int a;
Object b;
Main a;
}