summaryrefslogtreecommitdiff
path: root/regress/usr.bin/m4/weird,name.m4
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-10-10 11:16:29 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-10-10 11:16:29 +0000
commit74394cf411cbb42d6a83d507ae590984091cb3d1 (patch)
tree6726361c58296be23e907ba2ae7b0869fcab0951 /regress/usr.bin/m4/weird,name.m4
parentabbe089247e3585b4842ad5592f8748c1756720a (diff)
Check whether __file__ is correctly quoted (probleme noticed in gm4 dumpdef)
Diffstat (limited to 'regress/usr.bin/m4/weird,name.m4')
-rw-r--r--regress/usr.bin/m4/weird,name.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/regress/usr.bin/m4/weird,name.m4 b/regress/usr.bin/m4/weird,name.m4
new file mode 100644
index 00000000000..d87adaa87a4
--- /dev/null
+++ b/regress/usr.bin/m4/weird,name.m4
@@ -0,0 +1,4 @@
+dnl $OpenBSD: weird,name.m4,v 1.1 2001/10/10 11:16:28 espie Exp $
+dnl trip up m4 if it forgets to quote filenames
+define(`A', `$2')dnl
+A(__file__)dnl