diff options
Diffstat (limited to 'test/files/neg/t5675.scala')
-rw-r--r-- | test/files/neg/t5675.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/t5675.scala b/test/files/neg/t5675.scala new file mode 100644 index 0000000000..238ed0fcae --- /dev/null +++ b/test/files/neg/t5675.scala @@ -0,0 +1,7 @@ +class PostFix { + val list = List(1, 2, 3) + def main(args: Array[String]) { + val a = list filter (2 !=) + val b = list filter (2 != _) + } +} |