summaryrefslogtreecommitdiff
path: root/test/files/neg/bug935.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/bug935.check')
-rw-r--r--test/files/neg/bug935.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/bug935.check b/test/files/neg/bug935.check
new file mode 100644
index 0000000000..e2c2b87be8
--- /dev/null
+++ b/test/files/neg/bug935.check
@@ -0,0 +1,4 @@
+bug935.scala:5: error: type arguments [Test3.B] do not conform to class E's type parameter bounds [T <: String]
+ @E[B](new B) val b = "hi"
+ ^
+one error found