summaryrefslogtreecommitdiff
path: root/test/files/run/t9403/C_1.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t9403/C_1.scala')
-rw-r--r--test/files/run/t9403/C_1.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/run/t9403/C_1.scala b/test/files/run/t9403/C_1.scala
new file mode 100644
index 0000000000..439af1a386
--- /dev/null
+++ b/test/files/run/t9403/C_1.scala
@@ -0,0 +1,5 @@
+package p
+class C {
+ @inline final def f(x: Int): Long = 10L / (if (x < 0) -2 else 2)
+ @inline final def g(x: Int): Long = 3000L / (if (x < 0) -300 else 300)
+}