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