summaryrefslogtreecommitdiff
path: root/test/pending/neg/t5618.check
diff options
context:
space:
mode:
authorAleksandar Prokopec <axel22@gmail.com>2012-05-02 17:08:35 +0200
committerAleksandar Prokopec <axel22@gmail.com>2012-05-02 17:08:35 +0200
commit8149a61c20b1854d5c84f9623a46c479c3a8de63 (patch)
treec5bc191042eef2646605b690055ec901a46f1681 /test/pending/neg/t5618.check
parent95bdd986786f42e00cac19a8659c57230a06f5d1 (diff)
downloadscala-8149a61c20b1854d5c84f9623a46c479c3a8de63.tar.gz
scala-8149a61c20b1854d5c84f9623a46c479c3a8de63.tar.bz2
scala-8149a61c20b1854d5c84f9623a46c479c3a8de63.zip
Test case for si-5618.
Diffstat (limited to 'test/pending/neg/t5618.check')
-rw-r--r--test/pending/neg/t5618.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/pending/neg/t5618.check b/test/pending/neg/t5618.check
new file mode 100644
index 0000000000..118e812ae4
--- /dev/null
+++ b/test/pending/neg/t5618.check
@@ -0,0 +1,7 @@
+t5618.scala:12: error: could not find implicit value for parameter class1: Class1
+ val class2 = new Class2
+ ^
+t5618.scala:18: error: could not find implicit value for parameter class1: Class1
+ val class2 = new Class2
+ ^
+two errors found \ No newline at end of file