summaryrefslogtreecommitdiff
path: root/test/files/neg/t5969.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t5969.scala')
-rw-r--r--test/files/neg/t5969.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/t5969.scala b/test/files/neg/t5969.scala
index 62f87fd7ab..d010cacd1b 100644
--- a/test/files/neg/t5969.scala
+++ b/test/files/neg/t5969.scala
@@ -4,7 +4,7 @@ class A {
def f(x: Any) = x
def g(x: C1): String = "A"
def g(x: C2): String = "B"
-
+
def crash() = f(List[String]() flatMap { x =>
if (false) List(g(x)) else List[C1]() map g
})