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

7 lines
132 B
Text
Raw Normal View History

2020-01-15 22:32:25 +01:00
// No class can have the name "Object"
class Aclass {}
class Object extends Aclass {}
class Main extends Object {
void main() {}
}