summaryrefslogtreecommitdiff
path: root/test/files/neg/t3854.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-01-27 20:09:38 -0800
committerPaul Phillips <paulp@improving.org>2012-01-27 21:39:50 -0800
commit0d0cdea28ec142a3e6da7a29b8130138a41ae782 (patch)
tree7cda2522ab910030605d097f00eca5f518eee124 /test/files/neg/t3854.check
parent5e2bf28ff209cc587d8bcf0d7fb4ae780936146a (diff)
downloadscala-0d0cdea28ec142a3e6da7a29b8130138a41ae782.tar.gz
scala-0d0cdea28ec142a3e6da7a29b8130138a41ae782.tar.bz2
scala-0d0cdea28ec142a3e6da7a29b8130138a41ae782.zip
Test case closes SI-3854.
Diffstat (limited to 'test/files/neg/t3854.check')
-rw-r--r--test/files/neg/t3854.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/t3854.check b/test/files/neg/t3854.check
new file mode 100644
index 0000000000..c478481a6f
--- /dev/null
+++ b/test/files/neg/t3854.check
@@ -0,0 +1,5 @@
+t3854.scala:1: error: class Bar needs to be abstract, since method foo in trait Foo of type [G[_]](implicit n: N[G,F])X[F] is not defined
+(Note that N[G,F] does not match M[G])
+class Bar[F[_]] extends Foo[F] {
+ ^
+one error found