diff options
Diffstat (limited to 'tests/untried/pos/cfcrash.scala')
-rw-r--r-- | tests/untried/pos/cfcrash.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/untried/pos/cfcrash.scala b/tests/untried/pos/cfcrash.scala new file mode 100644 index 000000000..19475ad4c --- /dev/null +++ b/tests/untried/pos/cfcrash.scala @@ -0,0 +1,4 @@ +object cfcrash { + final val zero = 0 + def blah = 3 / zero // this should not crash the compiler +} |