aboutsummaryrefslogtreecommitdiffstats
path: root/test/mpfrstrtonum.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/mpfrstrtonum.awk')
-rw-r--r--test/mpfrstrtonum.awk5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/mpfrstrtonum.awk b/test/mpfrstrtonum.awk
new file mode 100644
index 00000000..79d6ad13
--- /dev/null
+++ b/test/mpfrstrtonum.awk
@@ -0,0 +1,5 @@
+BEGIN {
+ x = "011"
+ print x+0 # trigger NUMCUR
+ print strtonum(x)
+}