summaryrefslogtreecommitdiff
path: root/test/files/run/t1427.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t1427.check')
-rw-r--r--test/files/run/t1427.check3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/run/t1427.check b/test/files/run/t1427.check
new file mode 100644
index 0000000000..11a3d2f4a9
--- /dev/null
+++ b/test/files/run/t1427.check
@@ -0,0 +1,3 @@
+t1427.scala:6: warning: abstract type X in type pattern Bob[_[_] <: Any] is unchecked since it is eliminated by erasure
+ case x: (Bob[X] forSome { type X[_] }) => true
+ ^