51c9fed94b
PR java/17329: * testsuite/libjava.compile/pr17329.java: New file. From-SVN: r87960
15 lines
181 B
Java
15 lines
181 B
Java
// gcj had a problem with "SomeClass.field++" when gimplifying.
|
|
|
|
class helper
|
|
{
|
|
static int value;
|
|
}
|
|
|
|
public class pr17329
|
|
{
|
|
static void doit ()
|
|
{
|
|
helper.value += 2;
|
|
}
|
|
}
|