diff options
Diffstat (limited to 'tests/untried/neg/t7171.check')
-rw-r--r-- | tests/untried/neg/t7171.check | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/untried/neg/t7171.check b/tests/untried/neg/t7171.check new file mode 100644 index 000000000..ecd768afd --- /dev/null +++ b/tests/untried/neg/t7171.check @@ -0,0 +1,6 @@ +t7171.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 |