aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile/pr176.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/testsuite/libjava.compile/pr176.java')
-rw-r--r--libjava/testsuite/libjava.compile/pr176.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.compile/pr176.java b/libjava/testsuite/libjava.compile/pr176.java
new file mode 100644
index 0000000..a52b5bb
--- /dev/null
+++ b/libjava/testsuite/libjava.compile/pr176.java
@@ -0,0 +1,15 @@
+// gcj (20000313) reports "Type `x' not found in the declaration of the
+// return type of method `getX'."
+
+public class pr176
+{
+ class A
+ {
+ x getX()
+ {
+ return new x();
+ }
+
+ class x {}
+ }
+}