summaryrefslogtreecommitdiffstats
path: root/tests/new/UndefinedInner.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/new/UndefinedInner.java')
-rw-r--r--tests/new/UndefinedInner.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/new/UndefinedInner.java b/tests/new/UndefinedInner.java
new file mode 100644
index 000000000..1ea3617ed
--- /dev/null
+++ b/tests/new/UndefinedInner.java
@@ -0,0 +1,9 @@
+
+// in 10rc2, this provokes a NPE at ConstructorDec.java:41
+class error {
+ class error2 {
+ /** @testcase PR#588 PUREJAVA Undefined inner class constructor */
+ public error2(); // expecting error here
+ }
+}
+