diff options
Diffstat (limited to 'test/files/pos/t4430.scala')
-rw-r--r-- | test/files/pos/t4430.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/pos/t4430.scala b/test/files/pos/t4430.scala new file mode 100644 index 0000000000..746ecb271e --- /dev/null +++ b/test/files/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 + ) +} |