summaryrefslogtreecommitdiff
path: root/test/files/neg/dotless-targs.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/dotless-targs.scala')
-rw-r--r--test/files/neg/dotless-targs.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/dotless-targs.scala b/test/files/neg/dotless-targs.scala
new file mode 100644
index 0000000000..eff63cbec4
--- /dev/null
+++ b/test/files/neg/dotless-targs.scala
@@ -0,0 +1,5 @@
+class A {
+ def f1 = "f1" isInstanceOf[String] // not ok
+ def f2 = "f2".isInstanceOf[String] // ok
+ def f3 = "f3" toList // ok
+}