mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-30 00:45:44 +08:00
f5f67fb58c
2000-05-22 Bryce McKinlay <bryce@albatross.co.nz> Test for PR gcj/232: * libjava.compile/PR232.java: New file. From-SVN: r34070
17 lines
354 B
Java
17 lines
354 B
Java
// Use of a "static final String" as a monitor causes ICE
|
|
// in jc1 (20000520)
|
|
//
|
|
// Program received signal SIGSEGV, Segmentation fault.
|
|
// put_decl_node (node=0x0) at ../../../gcc/java/lang.c:413
|
|
// 413 if (TREE_CODE (node) == POINTER_TYPE)
|
|
|
|
class PR232
|
|
{
|
|
static final String lock= "LOCK";
|
|
|
|
void a()
|
|
{
|
|
synchronized(lock) {}
|
|
}
|
|
};
|