mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
16 lines
286 B
Java
16 lines
286 B
Java
|
|
// This triggers a failure when compiling from bytecode (only) with 20000519
|
||
|
|
|
||
|
|
public class PR232B
|
||
|
|
{
|
||
|
|
private static Object lock = new Object();
|
||
|
|
private static PR232B instance = null;
|
||
|
|
|
||
|
|
public void a()
|
||
|
|
{
|
||
|
|
synchronized(lock)
|
||
|
|
{
|
||
|
|
instance = new PR232B();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
};
|