summaryrefslogtreecommitdiff
path: root/test/files/neg/t3224.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t3224.check')
-rw-r--r--test/files/neg/t3224.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t3224.check b/test/files/neg/t3224.check
new file mode 100644
index 0000000000..de196f15be
--- /dev/null
+++ b/test/files/neg/t3224.check
@@ -0,0 +1,6 @@
+/home/odersky/workspace/scala/test/files/neg/t3224.scala:29: error: polymorphic expression cannot be instantiated to expected type;
+ found : [T]Array[T]
+ required: List[?]
+ println(Texts textL Array()); println(Texts textL Array(1)); println(Texts textL Array(1, 1))
+ ^
+one error found