aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile/Case.java
blob: c5eb1d51947bb4b132e8126ea583eca0f9b587c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Simple compiler test.

public class Case 
{
  public static int foo (int i, support.Case x)
    {
      switch (i)
	{
	case x.A:
	  return 1;
	default:
	  return 0;
	}
    }
}