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