summaryrefslogtreecommitdiffstats
path: root/usr.bin/m4/tests/m4wrap3.m4
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/m4/tests/m4wrap3.m4')
-rw-r--r--usr.bin/m4/tests/m4wrap3.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/usr.bin/m4/tests/m4wrap3.m4 b/usr.bin/m4/tests/m4wrap3.m4
new file mode 100644
index 0000000..a0dffb0
--- /dev/null
+++ b/usr.bin/m4/tests/m4wrap3.m4
@@ -0,0 +1,12 @@
+dnl $FreeBSD$
+dnl $OpenBSD: src/regress/usr.bin/m4/m4wrap3.m4,v 1.1 2005/03/02 10:12:41 espie Exp $
+dnl Another test, this time for multiple wrappers
+dnl Check the behavior in presence of recursive m4wraps
+dnl both for POSIX m4 and for gnu-m4 mode
+m4wrap(`this is
+')dnl
+m4wrap(`a string
+')dnl
+m4wrap(`m4wrap(`recurse
+')')dnl
+normal m4 stuff
OpenPOWER on IntegriCloud