diff options
Diffstat (limited to 'test/files/run/bug1093.scala')
-rw-r--r-- | test/files/run/bug1093.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/run/bug1093.scala b/test/files/run/bug1093.scala new file mode 100644 index 0000000000..4cc6181e81 --- /dev/null +++ b/test/files/run/bug1093.scala @@ -0,0 +1,9 @@ +// contribution bug #460 + +object Test extends Application { + val x = Some(3) match { + case Some(1 | 2) => 1 + case Some(3) => 2 + } + println(x) +} |