diff options
Diffstat (limited to 'tests/untried/neg/t997.check')
-rw-r--r-- | tests/untried/neg/t997.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/untried/neg/t997.check b/tests/untried/neg/t997.check new file mode 100644 index 000000000..b11879222 --- /dev/null +++ b/tests/untried/neg/t997.check @@ -0,0 +1,4 @@ +t997.scala:13: error: too many patterns for object Foo offering (String, String): expected 2, found 3 +"x" match { case Foo(a, b, c) => Console.println((a,b,c)) } + ^ +one error found |