aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t7171b.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/t7171b.check')
-rw-r--r--tests/untried/neg/t7171b.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/untried/neg/t7171b.check b/tests/untried/neg/t7171b.check
new file mode 100644
index 000000000..bf695afea
--- /dev/null
+++ b/tests/untried/neg/t7171b.check
@@ -0,0 +1,6 @@
+t7171b.scala:2: warning: The outer reference in this type test cannot be checked at run time.
+ final case class A()
+ ^
+error: No warnings can be incurred under -Xfatal-warnings.
+one warning found
+one error found