diff options
Diffstat (limited to 'test/files/run/trailing-commas.check')
-rw-r--r-- | test/files/run/trailing-commas.check | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/run/trailing-commas.check b/test/files/run/trailing-commas.check new file mode 100644 index 0000000000..0dc4335ccd --- /dev/null +++ b/test/files/run/trailing-commas.check @@ -0,0 +1,9 @@ + +scala> // test varargs in patterns + +scala> val List(x, y, _*, +) = 42 :: 17 :: Nil +x: Int = 42 +y: Int = 17 + +scala> :quit |