diff options
Diffstat (limited to 'test/files/neg/t6675-old-patmat.check')
-rw-r--r-- | test/files/neg/t6675-old-patmat.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t6675-old-patmat.check b/test/files/neg/t6675-old-patmat.check new file mode 100644 index 0000000000..bc3920da06 --- /dev/null +++ b/test/files/neg/t6675-old-patmat.check @@ -0,0 +1,4 @@ +t6675-old-patmat.scala:10: error: extractor pattern binds a single value to a Product3 of type (Int, Int, Int) + "" match { case X(b) => b } // should warn under -Xlint. Not an error because of SI-6111 + ^ +one error found |