OSDN Git Service

* libjava.lang/pr83.xfail: Removed.
[pf3gnuchains/gcc-fork.git] / libjava / testsuite / libjava.compile / inner_1.java
1 // inner class regression test.
2
3 package bar.foo;
4
5 class other {
6   class foo {}
7 }
8
9 class inner_1 {
10     static void bar () {
11         inner_1 xxxx;                   // Refers to inner_1
12         bar.foo.another xyz;            // Refers to non inner another 
13         bar.foo.other.foo X;            // OK to declare, inner class foo
14         bar.foo.inner_1.t bar;          // Inner class t
15         inner_1.t foo;                  // Inner class t
16         t foobar;                       // Inner class t
17         other.foo zag;                  // Valid for declaration.
18         t.ungah x;
19     }
20     void foo () {
21         // z.t.u foo;
22         t t1 = new t();
23         t1.print (); 
24         new t().print();
25     }
26
27     class t {
28         void print () {
29             System.out.println ("This is `inner_1.t'");
30         }
31         class ungah {}
32     }
33 }
34
35 class another {
36