blob: 19e81935d59d9d5d2a0c10fc091fa9c3281eeb59 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
 | public class PR12374 {
  /* We weren't coping with field refs on a string constant...  */
  Object Foo()
  {
    return "".CASE_INSENSITIVE_ORDER;
  }
  /* Special casing access to array.length while analysing syntax is
     evil.  Especially when it means we can't cope with a type
     called length.  */
  class length
  {
    static final int i = 2;
  }
  int bar()
  {
    return length.i;
  }
  public static void main (String[] argv)
  {
  }
}
 |