aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t6264.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/t6264.check')
-rw-r--r--tests/untried/neg/t6264.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/untried/neg/t6264.check b/tests/untried/neg/t6264.check
new file mode 100644
index 000000000..c0975a80b
--- /dev/null
+++ b/tests/untried/neg/t6264.check
@@ -0,0 +1,6 @@
+t6264.scala:3: warning: non-variable type argument Tuple1[_] in type Tuple2[_, Tuple1[_]] is unchecked since it is eliminated by erasure
+ x.isInstanceOf[Tuple2[_, Tuple1[_]]]
+ ^
+error: No warnings can be incurred under -Xfatal-warnings.
+one warning found
+one error found