diff options
Diffstat (limited to 'tests/untried/pos/t4430.scala')
-rw-r--r-- | tests/untried/pos/t4430.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/untried/pos/t4430.scala b/tests/untried/pos/t4430.scala new file mode 100644 index 000000000..746ecb271 --- /dev/null +++ b/tests/untried/pos/t4430.scala @@ -0,0 +1,11 @@ +class Crash { + def S(op: => Double) = 0 + def A(a: Int, b: Int) = 0 + + val t = 0 + + val q = A( + b = S { val xxx = t ; 42 }, + a = 0 + ) +} |