aboutsummaryrefslogtreecommitdiffstats
path: root/extension/testordchr.awk
diff options
context:
space:
mode:
Diffstat (limited to 'extension/testordchr.awk')
-rw-r--r--extension/testordchr.awk6
1 files changed, 6 insertions, 0 deletions
diff --git a/extension/testordchr.awk b/extension/testordchr.awk
new file mode 100644
index 00000000..64e53d16
--- /dev/null
+++ b/extension/testordchr.awk
@@ -0,0 +1,6 @@
+BEGIN {
+ extension("./ordchr.so", "dlload")
+
+ print "ord(\"a\") is", ord("a")
+ print "chr(65) is", chr(65)
+}