mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-09-13 15:45:38 +02:00
19ed0a21b8
default mode (inherited behaviour from JDT).
10 lines
204 B
Java
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
|
|
}
|