summaryrefslogtreecommitdiff
path: root/test/strtonum.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/strtonum.awk')
-rw-r--r--test/strtonum.awk6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/strtonum.awk b/test/strtonum.awk
new file mode 100644
index 0000000..22ad41e
--- /dev/null
+++ b/test/strtonum.awk
@@ -0,0 +1,6 @@
+BEGIN {
+ print strtonum("0x13")
+ print strtonum("013")
+ print strtonum("13")
+ print strtonum(13)
+}