compiler-design-eth/javali_tests/HW3_nop90/EntrypointTests/ErrorNoMainMethod.javali
Carlos Galindo 0afc86ceeb
Homework 3
2020-01-15 22:32:25 +01:00

11 lines
No EOL
179 B
Text

// 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() {}
}