summaryrefslogtreecommitdiff
path: root/regress/usr.bin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-09-27 22:40:59 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-09-27 22:40:59 +0000
commite59c11667871f42fd8c911bacc65844a10a3ccb6 (patch)
tree70d853becc111e275d3e870995ede5360641c2c6 /regress/usr.bin
parent51e05d60d887763b84ff1c7d106b8af56fa984dc (diff)
weird testcases...
Diffstat (limited to 'regress/usr.bin')
-rw-r--r--regress/usr.bin/m4/redef.m45
-rw-r--r--regress/usr.bin/m4/redef.out1
2 files changed, 5 insertions, 1 deletions
diff --git a/regress/usr.bin/m4/redef.m4 b/regress/usr.bin/m4/redef.m4
index ffc254a5b1b..5ae53360299 100644
--- a/regress/usr.bin/m4/redef.m4
+++ b/regress/usr.bin/m4/redef.m4
@@ -1,4 +1,7 @@
-dnl $OpenBSD: redef.m4,v 1.1 2001/09/19 19:15:08 espie Exp $
+dnl $OpenBSD: redef.m4,v 1.2 2001/09/27 22:40:58 espie Exp $
+dnl check all properties of builtin are passed on, including args behavior
+define(`mybuiltin',defn(`builtin'))dnl
+builtin mybuiltin
define(`mydefine',defn(`define'))dnl
mydefine(`mydefn',defn(`defn'))dnl
mydefine(`myundefine',mydefn(`undefine'))dnl
diff --git a/regress/usr.bin/m4/redef.out b/regress/usr.bin/m4/redef.out
index a12ea8a775d..ee482f013a8 100644
--- a/regress/usr.bin/m4/redef.out
+++ b/regress/usr.bin/m4/redef.out
@@ -1 +1,2 @@
+builtin mybuiltin
B C