2002-12-16 19:51:06 +01:00
|
|
|
interface i {
|
|
|
|
i() {} // ERR: interfaces can't have constructors
|
|
|
|
}
|
|
|
|
|
|
|
|
class c {
|
2004-01-13 12:27:59 +01:00
|
|
|
c(); //ERR: constructors must have bodies
|
2002-12-16 19:51:06 +01:00
|
|
|
|
|
|
|
abstract c(int i) { } //ERR: constructors can't be abstract
|
|
|
|
}
|