This is the mail archive of the
java-patches@sourceware.cygnus.com
mailing list for the Java project.
Patch: pr 176
- To: Java Patch List <java-patches at sourceware dot cygnus dot com>
- Subject: Patch: pr 176
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 15 Mar 2000 09:39:43 -0700
- Reply-To: tromey at cygnus dot com
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 {}
+ }
+}