gcc/libjava/testsuite/libjava.compile/PR232B.java
Bryce McKinlay 8f5c8c72db re GNATS gcj/232 (segmentation violation at except.c:2180)
2000-05-22  Bryce McKinlay  <bryce@albatross.co.nz>

	* libjava.compile/PR232B.java: Additional PR gcj/232 test.

From-SVN: r34092
2000-05-22 23:22:07 +01:00

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();
}
}
};