summaryrefslogtreecommitdiff
path: root/test/files/neg/t7294b.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t7294b.check')
-rw-r--r--test/files/neg/t7294b.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t7294b.check b/test/files/neg/t7294b.check
new file mode 100644
index 0000000000..0033b72125
--- /dev/null
+++ b/test/files/neg/t7294b.check
@@ -0,0 +1,6 @@
+t7294b.scala:1: warning: inheritance from class Tuple2 in package scala is deprecated: Tuples will be made final in a future version.
+class C extends Tuple2[Int, Int](0, 0)
+ ^
+error: No warnings can be incurred under -Xfatal-warnings.
+one warning found
+one error found