diff options
Diffstat (limited to 'test/files/pos/bug50.scala')
-rw-r--r-- | test/files/pos/bug50.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/pos/bug50.scala b/test/files/pos/bug50.scala new file mode 100644 index 0000000000..0989af44fa --- /dev/null +++ b/test/files/pos/bug50.scala @@ -0,0 +1,8 @@ +import scala.runtime.NativeMonitor; + +case class Foo[a](x: a); + +object bug { + Foo(""); + NativeMonitor.synchronised(null, ""); +} |