2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / libjava / testsuite / libjava.compile / PR12374.java
blob19e81935d59d9d5d2a0c10fc091fa9c3281eeb59
1 public class PR12374 {
3 /* We weren't coping with field refs on a string constant... */
5 Object Foo()
7 return "".CASE_INSENSITIVE_ORDER;
10 /* Special casing access to array.length while analysing syntax is
11 evil. Especially when it means we can't cope with a type
12 called length. */
14 class length
16 static final int i = 2;
19 int bar()
21 return length.i;
24 public static void main (String[] argv)