diff options
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | libjava/testsuite/libjava.compile/pr176.java | 15 |
2 files changed, 19 insertions, 0 deletions
diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog index 5a184ee4c37..f1ba6d436d0 100644 --- a/libjava/testsuite/ChangeLog +++ b/libjava/testsuite/ChangeLog @@ -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 index 00000000000..a52b5bbf808 --- /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 {} + } +} |