diff options
Diffstat (limited to 'tests/pos/t2234.scala')
-rw-r--r-- | tests/pos/t2234.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/pos/t2234.scala b/tests/pos/t2234.scala new file mode 100644 index 000000000..218e9f5e5 --- /dev/null +++ b/tests/pos/t2234.scala @@ -0,0 +1,4 @@ +object Test extends App { + val res0 = 1 #:: Stream.empty + res0 match { case 1 #:: xs => xs } +} |