diff options
Diffstat (limited to 'tests/new/InterfaceConstructor.java')
-rw-r--r-- | tests/new/InterfaceConstructor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/new/InterfaceConstructor.java b/tests/new/InterfaceConstructor.java index 080e4406b..49a6ded3c 100644 --- a/tests/new/InterfaceConstructor.java +++ b/tests/new/InterfaceConstructor.java @@ -3,7 +3,7 @@ interface i { } class c { - c(); //ERR: constructors must have bodies + c(); //ERR: constructors must have bodies abstract c(int i) { } //ERR: constructors can't be abstract } |