aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite
diff options
context:
space:
mode:
authorTom Tromey <tromey@cygnus.com>2000-03-15 16:36:44 +0000
committerTom Tromey <tromey@gcc.gnu.org>2000-03-15 16:36:44 +0000
commitbeca355843b8ef99e14361aab391e7796e62f159 (patch)
tree1e662d65614e222c18a46f53b1094c108b3a7ce5 /libjava/testsuite
parent369e59b1c16871040601d6d8671c7877777f32e3 (diff)
downloadgcc-beca355843b8ef99e14361aab391e7796e62f159.zip
gcc-beca355843b8ef99e14361aab391e7796e62f159.tar.gz
gcc-beca355843b8ef99e14361aab391e7796e62f159.tar.bz2
* libjava.compile/pr176.java: New file, for PR gcj/176.
From-SVN: r32561
Diffstat (limited to 'libjava/testsuite')
-rw-r--r--libjava/testsuite/ChangeLog4
-rw-r--r--libjava/testsuite/libjava.compile/pr176.java15
2 files changed, 19 insertions, 0 deletions
diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog
index 5a184ee..f1ba6d4 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 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 {}
+ }
+}