OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.lang/] [update_outer.java] - Blame information for rev 772

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 765 jeremybenn
// 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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.