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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.lang/] [inner2.java] - Rev 767

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

// Class inner2
// Generated on Mon Dec  6 14:32:34 PST 1999
//
 
class inner2 {
  int foo = 1999;
  void foo () 
  {
    inner2.this.foo = 666;
    System.out.println (inner2.this.foo);
  }
  void print () {System.out.println (foo);}
  public static void main (String[] arg)
  {
    System.out.println ("Testing class `inner2'...");
    new inner2().foo ();
  }
}
 

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

powered by: WebSVN 2.1.0

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