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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 765 jeremybenn
// Class private_direct_write
2
// Generated on Tue Nov 16 15:05:54 UTC 1999
3
//
4
 
5
class private_direct_write {
6
 
7
  private int foo;
8
 
9
  class private_direct_write_inner {
10
    void test () {
11
      foo = 670;
12
    }
13
  }
14
  void foo ()
15
  {
16
    private_direct_write_inner inn = this.new private_direct_write_inner ();
17
    inn.test ();
18
    System.out.println ("foo="+foo);
19
  }
20
  public static void main (String[] arg)
21
  {
22
    System.out.println ("Testing class `private_direct_write'...");
23
    new private_direct_write().foo ();
24
  }
25
}

powered by: WebSVN 2.1.0

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