diff options
Diffstat (limited to 'tests/untried/pos/t8306.scala')
-rw-r--r-- | tests/untried/pos/t8306.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/untried/pos/t8306.scala b/tests/untried/pos/t8306.scala new file mode 100644 index 000000000..e04b054eb --- /dev/null +++ b/tests/untried/pos/t8306.scala @@ -0,0 +1,8 @@ +class Si8306 { + def foo: Int = 123 + lazy val extension: Int = + foo match { + case idx if idx != -1 => 15 + case _ => 17 + } +} |