diff options
Diffstat (limited to 'tests/untried/pos/bcode_throw_null/TN.scala')
-rw-r--r-- | tests/untried/pos/bcode_throw_null/TN.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/untried/pos/bcode_throw_null/TN.scala b/tests/untried/pos/bcode_throw_null/TN.scala new file mode 100644 index 000000000..ab04c4513 --- /dev/null +++ b/tests/untried/pos/bcode_throw_null/TN.scala @@ -0,0 +1,7 @@ +object TN { + + def pre1(b: Boolean): Unit = { + println(if (b) 1 else throw null) + } + +} |