OSDN Git Service

* lib/libjava.exp (test_libjava_from_javac): Strange quoting trick
[pf3gnuchains/gcc-fork.git] / libjava / testsuite / libjava.lang / update_outer.java
1 // Class update_outer
2 // Generated on Thu Nov 18 21:37:21 UTC 1999
3 //
4
5 class update_outer {
6
7   private String foo;
8
9   class update_outer_inner {
10     void test () {
11       foo += " M$";
12       System.out.println ("foo=`"+foo+"'");
13     }
14
15
16   }
17   void foo ()
18   {
19     foo = "780";
20     update_outer_inner inn = this.new update_outer_inner ();
21     inn.test ();
22   }  
23   public static void main (String[] arg)
24   {
25     System.out.println ("Testing class `update_outer'...");
26     new update_outer().foo ();
27   }
28 }