compiler-design-eth/javali_tests/HW4_nop90/OkOverwriteMainMethod.javali

14 lines
146 B
Text
Raw Permalink Normal View History

2020-01-15 22:34:57 +01:00
/* test overwritten main method */
class OtherMain {
void main () {
int a;
}
}
class Main extends OtherMain {
void main () {
int b;
}
}