summaryrefslogtreecommitdiff
path: root/tests/gentest/changesy.6.m4
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gentest/changesy.6.m4')
-rwxr-xr-xtests/gentest/changesy.6.m421
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/gentest/changesy.6.m4 b/tests/gentest/changesy.6.m4
new file mode 100755
index 00000000..88cac7a4
--- /dev/null
+++ b/tests/gentest/changesy.6.m4
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+# gentest/changesy.6.m4 is part of the GNU m4 testsuite
+# generated from example in ../doc/m4.texinfo line 2223
+
+. ${srcdir}/defs
+
+cat <<\EOF >in
+changesyntax(`({<', `)}>', `,;:', `O(,)')
+eval{2**4-1; 2 : 8>
+EOF
+
+cat <<\EOF >ok
+
+00001111
+EOF
+
+$M4 -d in >out
+
+$CMP -s out ok
+