summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/files/neg/t1371.check4
-rw-r--r--test/files/neg/t1371.scala2
2 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t1371.check b/test/files/neg/t1371.check
new file mode 100644
index 0000000000..f2e9ffebe8
--- /dev/null
+++ b/test/files/neg/t1371.check
@@ -0,0 +1,4 @@
+t1371.scala:1: error: unbound wildcard type
+trait A[T <: (_)]
+ ^
+one error found
diff --git a/test/files/neg/t1371.scala b/test/files/neg/t1371.scala
new file mode 100644
index 0000000000..4ad84a9d5c
--- /dev/null
+++ b/test/files/neg/t1371.scala
@@ -0,0 +1,2 @@
+trait A[T <: (_)]
+