org.aspectj/tests/new/InterfaceConstructor.java
acolyer 19ed0a21b8 move to Eclipse 3.0 M6 JDT core (v_396). Also makes 1.4 the
default mode (inherited behaviour from JDT).
2004-01-13 11:27:59 +00:00

10 lines
204 B
Java

interface i {
i() {} // ERR: interfaces can't have constructors
}
class c {
c(); //ERR: constructors must have bodies
abstract c(int i) { } //ERR: constructors can't be abstract
}