86bcd3a224
gcc/java: PR java/25429 * parse.y (resolve_expression_name): Don't generate accessor methods for constant fields. libjava: * testsuite/libjava.compile/rh175833.java: New file. * testsuite/libjava.compile/pr25429.java: New file. Co-Authored-By: Andrew Haley <aph@redhat.com> From-SVN: r108608
14 lines
199 B
Java
14 lines
199 B
Java
public class pr25429
|
|
{
|
|
private static final int CONST = 0;
|
|
class I {
|
|
public void f () {
|
|
switch(0) {
|
|
case CONST:
|
|
}
|
|
}
|
|
}
|
|
|
|
public static void main(String[] args) { }
|
|
}
|