1 // gcj (20000313) reports "Type `x' not found in the declaration of the
2 // return type of method `getX'."
3 
4 public class pr176
5 {
6   class A
7   {
getX()8     x getX()
9     {
10       return new x();
11     }
12 
13     class x {}
14   }
15 }
16