OSDN Git Service

* libjava.compile/pr176.java: New file, for PR gcj/176.
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Mar 2000 16:36:44 +0000 (16:36 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Mar 2000 16:36:44 +0000 (16:36 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32561 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/testsuite/ChangeLog
libjava/testsuite/libjava.compile/pr176.java [new file with mode: 0644]

index 5a184ee..f1ba6d4 100644 (file)
@@ -1,3 +1,7 @@
+2000-03-15  Tom Tromey  <tromey@cygnus.com>
+
+       * libjava.compile/pr176.java: New file, for PR gcj/176.
+
 2000-03-15  Bryce McKinlay  <bryce@albatross.co.nz>
 
        * libjava.compile/pr172.java: Correct classname to match file name.
diff --git a/libjava/testsuite/libjava.compile/pr176.java b/libjava/testsuite/libjava.compile/pr176.java
new file mode 100644 (file)
index 0000000..a52b5bb
--- /dev/null
@@ -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 {}
+  }
+}