From f3b5bed27b4e10daaafa27298d0f886d358a05cf Mon Sep 17 00:00:00 2001 From: tromey Date: Wed, 15 Mar 2000 16:36:44 +0000 Subject: * libjava.compile/pr176.java: New file, for PR gcj/176. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32561 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/testsuite/libjava.compile/pr176.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 libjava/testsuite/libjava.compile/pr176.java (limited to 'libjava/testsuite/libjava.compile') 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 {} + } +} -- cgit v1.2.3