compiler-design-eth/javali_tests/HW3_nop90/EntrypointTests/ErrorNoMainMethod.javali

11 lines
179 B
Text
Raw Normal View History

2020-01-15 22:32:25 +01:00
// Error: the "Main" class does not contain a method called "main"
class Main {
void maini() {}
void mein() {}
void moon() {}
}
class NotMain extends Main {
void main() {}
}