diff options
Diffstat (limited to 'tests/untried/neg/dotless-targs.scala')
-rw-r--r-- | tests/untried/neg/dotless-targs.scala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/untried/neg/dotless-targs.scala b/tests/untried/neg/dotless-targs.scala new file mode 100644 index 000000000..eff63cbec --- /dev/null +++ b/tests/untried/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 +} |