summaryrefslogtreecommitdiff
path: root/tests/generated-tests/argument.3.test
blob: 2a5141720f5f4aa79f28324e1684c4f2c2bcf7bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

# generated-tests/argument.3.test is part of the GNU m4 testsuite
# generated from example in ../doc/m4.texinfo line 1060

. ${srcdir}/defs

cat <<\EOF >in
define(`test', ``Macro name: $0'')
test
EOF

cat <<\EOF >ok

Macro name: test
EOF

$M4 -d in >out

$CMP -s out ok