blob: 63161dc29e5dabae68537968538060618dee0eac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh
# comments.test is part of the GNU m4 testsuite
. ${srcdir}/defs
cat <<\EOF >in
include(comments.m4)dnl
EOF
cat <<\EOF >ok
# An ordinary comment
# A comment in a macro
Macro foo expansion
# A *** Macro comment expansion *** in a macro
Macro foo expansion
EOF
M4PATH=$srcdir $M4 -d in >out
$CMP -s out ok
|