This is the mail archive of the java-patches@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch: pr 176


I'm checking in this test case for PR 176.
This time I actually tried compiling it, so now it will be really
embarrassing when the inevitable mistake is found.

2000-03-15  Tom Tromey  <tromey@cygnus.com>

	* libjava.compile/pr176.java: New file, for PR gcj/176.


Tom

Index: libjava.compile/pr176.java
===================================================================
RCS file: pr176.java
diff -N pr176.java
--- /dev/null	Tue May  5 13:32:27 1998
+++ pr176.java	Wed Mar 15 08:33:10 2000
@@ -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 {}
+  }
+}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]