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