summaryrefslogtreecommitdiff
path: root/test/files/neg/bug1872.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/bug1872.scala')
-rw-r--r--test/files/neg/bug1872.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/bug1872.scala b/test/files/neg/bug1872.scala
new file mode 100644
index 0000000000..0ebee0b32d
--- /dev/null
+++ b/test/files/neg/bug1872.scala
@@ -0,0 +1,4 @@
+class A {
+ // a true result here would necessitate profound soul searching
+ def f(x: Int) = x.isInstanceOf[util.Random]
+} \ No newline at end of file