summaryrefslogtreecommitdiff
path: root/test/files/run/is-valid-num.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/is-valid-num.scala')
-rw-r--r--test/files/run/is-valid-num.scala5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/files/run/is-valid-num.scala b/test/files/run/is-valid-num.scala
index 402eff99d6..d314015dd4 100644
--- a/test/files/run/is-valid-num.scala
+++ b/test/files/run/is-valid-num.scala
@@ -1,3 +1,6 @@
+/*
+ * filter: inliner warning\(s\); re-run with -Yinline-warnings for details
+ */
object Test {
def x = BigInt("10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000")
def y = BigDecimal("" + (Short.MaxValue + 1) + ".0")
@@ -124,7 +127,7 @@ object Test {
checkBigInt2(biExp2(128) - biExp2(128 - pf))
checkBigInt2(biExp2(128) - biExp2(128 - pf - 1))
checkBigInt2(biExp2(128))
-
+
checkBigInt2(biExp2(1023))
checkBigInt2(biExp2(1024) - biExp2(1024 - pd))
checkBigInt2(biExp2(1024) - biExp2(1024 - pd - 1))