[go: up one dir, main page]

File: stringify-4

package info (click to toggle)
cppi 1.18-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,936 kB
  • sloc: ansic: 12,443; sh: 7,551; lex: 850; perl: 173; makefile: 47; sed: 16
file content (21 lines) | stat: -rwxr-xr-x 317 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

t=`basename $0`

cat > $t.I <<\EOF
#if FOO
# define foo(if) \
this is the 2nd line \
#if this line is not a cpp #if directive, but rather stringifies the `if' \
argument to the foo macro, `foo'.
#endif
EOF

> $t.EO
> $t.Ee

redirect_stdin=no
options="-c"
expected_status=0

. $top_srcdir/tests/test-common