summaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.lang/PR5057.java
blob: 590ffdfa008a0ca7b93ee33ebb6a24acc76c5c9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Test to make sure <clinit> is generated correctly.  */

public class PR5057
{
  public static int x;

  static
  {
    x = 72;
  }

  public static void main (String[] args)
  {
    System.out.println (x);
  }
}