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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.lang/] [direct_read.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 direct_read
2
// Generated on Sat Nov 13 23:26:34 UTC 1999
3
//
4
 
5
class direct_read {
6
 
7
  int foo;
8
 
9
  class direct_read_inner {
10
    void test () {
11
      int x = foo;
12
      System.out.println ("x="+x);
13
    }
14
  }
15
 
16
  void foo ()
17
  {
18
    foo = 670;
19
    direct_read_inner inn = this.new direct_read_inner ();
20
    inn.test ();
21
  }
22
  public static void main (String[] arg)
23
  {
24
    System.out.println ("Testing class `direct_read'...");
25
    new direct_read().foo ();
26
  }
27
}

powered by: WebSVN 2.1.0

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