2 // Tests the lookup of names on nested classes.
4 // Tests nested interfaces
24 public int get_one () { return 1; }
28 public int get_one () { return 1; }
29 public int get_two () { return 2; }
32 public static int Main ()
36 if (x
.get_one () != 1)
40 if (x
.get_one () != 1)
42 if (b
.get_two () != 2)
52 // The following tests that the compiler will actually properly
53 // find the types that are requested (they are nested types)