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

Subversion Repositories openrisc

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

Compare with Previous | Blame | View Log

// Class direct_write
// Generated on Mon Nov 15 17:10:56 UTC 1999
//
 
class direct_write {
 
  int foo;
 
  class direct_write_inner {
    void test () {
      foo  = 670;
    }
  }
 
  void foo ()
  {
    foo = 650;
    direct_write_inner inn = this.new direct_write_inner ();
    inn.test ();
    System.out.println ("foo="+foo);
  }  
  public static void main (String[] arg)
  {
    System.out.println ("Testing class `direct_write'...");
    new direct_write().foo ();
  }
}
 

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.