summaryrefslogtreecommitdiff
path: root/test/files/neg/t5969.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t5969.check')
-rw-r--r--test/files/neg/t5969.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/t5969.check b/test/files/neg/t5969.check
new file mode 100644
index 0000000000..9d8ac9a3a5
--- /dev/null
+++ b/test/files/neg/t5969.check
@@ -0,0 +1,7 @@
+t5969.scala:9: error: overloaded method value g with alternatives:
+ (x: C2)String <and>
+ (x: C1)String
+ cannot be applied to (String)
+ if (false) List(g(x)) else List[C1]() map g
+ ^
+one error found