aboutsummaryrefslogtreecommitdiffstats
path: root/test/mpfrmemok1.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2015-03-17 22:46:11 +0200
committerArnold D. Robbins <arnold@skeeve.com>2015-03-17 22:46:11 +0200
commitcffd09247c1681fbf3d5cad5253b3199704f83e7 (patch)
tree5341be1b30a9efa371d1802a5bb73aba5e447294 /test/mpfrmemok1.awk
parent1b047a42077ca58eeeaa93e0561c0b589350702b (diff)
downloadegawk-cffd09247c1681fbf3d5cad5253b3199704f83e7.tar.gz
egawk-cffd09247c1681fbf3d5cad5253b3199704f83e7.tar.bz2
egawk-cffd09247c1681fbf3d5cad5253b3199704f83e7.zip
Fix bad allocs -M and profiling.
Diffstat (limited to 'test/mpfrmemok1.awk')
-rw-r--r--test/mpfrmemok1.awk7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/mpfrmemok1.awk b/test/mpfrmemok1.awk
new file mode 100644
index 00000000..9331a34d
--- /dev/null
+++ b/test/mpfrmemok1.awk
@@ -0,0 +1,7 @@
+# This program tests that -M works with profiling.
+# It does not do anything real, but there should not be glibc memory
+# errors and it should be valgrind-clean too.
+
+BEGIN {
+ v = 0x0100000000000000000000000000000000
+}