mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-23 09:29:00 +08:00
8f5c8c72db
2000-05-22 Bryce McKinlay <bryce@albatross.co.nz> * libjava.compile/PR232B.java: Additional PR gcj/232 test. From-SVN: r34092
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();
|
|
}
|
|
}
|
|
};
|