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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 765 jeremybenn
// Class indirect_write
2
// Generated on Tue Nov 16 15:01:24 UTC 1999
3
//
4
 
5
class indirect_write {
6
 
7
  int foo;
8
 
9
  class indirect_write_inner {
10
    void test () {
11
    }
12
 
13
    class other {
14
      void testx () {
15
        foo = 670;
16
      }
17
    }
18
 
19
  }
20
  void foo ()
21
  {
22
    indirect_write_inner inn = this.new indirect_write_inner ();
23
    indirect_write_inner.other x = inn.new other ();
24
    x.testx();
25
    System.out.println ("foo="+foo);
26
  }
27
  public static void main (String[] arg)
28
  {
29
    System.out.println ("Testing class `indirect_write'...");
30
    new indirect_write().foo ();
31
  }
32
}

powered by: WebSVN 2.1.0

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