summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/files/pos/cfcrash.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/cfcrash.scala b/test/files/pos/cfcrash.scala
new file mode 100644
index 0000000000..19475ad4c7
--- /dev/null
+++ b/test/files/pos/cfcrash.scala
@@ -0,0 +1,4 @@
+object cfcrash {
+ final val zero = 0
+ def blah = 3 / zero // this should not crash the compiler
+}