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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 765 jeremybenn
/* Test to make sure <clinit> is generated correctly.  */
2
 
3
class R
4
{
5
  public static int z = 23;
6
}
7
 
8
public class PR5057_2 extends R
9
{
10
  static
11
  {
12
    R.z = 72;
13
  }
14
 
15
  public static void main (String[] args)
16
  {
17
    System.out.println (R.z);
18
  }
19
}

powered by: WebSVN 2.1.0

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