summaryrefslogtreecommitdiff
path: root/regress/usr.bin/m4/redef2.m4
diff options
context:
space:
mode:
Diffstat (limited to 'regress/usr.bin/m4/redef2.m4')
-rw-r--r--regress/usr.bin/m4/redef2.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/regress/usr.bin/m4/redef2.m4 b/regress/usr.bin/m4/redef2.m4
new file mode 100644
index 00000000000..caff6cee224
--- /dev/null
+++ b/regress/usr.bin/m4/redef2.m4
@@ -0,0 +1,6 @@
+dnl $OpenBSD: redef2.m4,v 1.1 2014/12/07 14:32:34 jsg Exp $
+dnl recursive macro redefinition
+define(`A', `aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
+A(
+ define(`A', `bbbbbbbbbbbbbbbbbbb')
+)