diff options
Diffstat (limited to 'test/files/neg')
-rwxr-xr-x | test/files/neg/bug421.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/neg/bug421.scala b/test/files/neg/bug421.scala new file mode 100755 index 0000000000..3e014b7500 --- /dev/null +++ b/test/files/neg/bug421.scala @@ -0,0 +1,8 @@ +object foo { + case class Bar(a:String, b:Object, c:String*); + + Bar("foo","meets","bar") match { + case Bar("foo",_*) => error("huh?"); + } + +} |