summaryrefslogtreecommitdiff
path: root/test/files/neg/t9093.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t9093.check')
-rw-r--r--test/files/neg/t9093.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t9093.check b/test/files/neg/t9093.check
new file mode 100644
index 0000000000..085a433f0b
--- /dev/null
+++ b/test/files/neg/t9093.check
@@ -0,0 +1,6 @@
+t9093.scala:3: error: polymorphic expression cannot be instantiated to expected type;
+ found : [C](f: C)Null
+ required: Unit
+ val x: Unit = apply2(0)/*(0)*/
+ ^
+one error found