[go: up one dir, main page]

File: stringify-2

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 (24 lines) | stat: -rwxr-xr-x 355 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
22
23
24
#!/bin/sh

t=`basename $0`

cat > $t.I <<\EOF
#if FOO
# define foo(if) \\
#if x
#endif
EOF

> $t.EO

cat > $t.Ee <<\EOF
cppi: stringify-2.I: line 3: not properly indented
cppi: stringify-2.I: line 4: not properly indented
cppi: stringify-2.I: line 1: unterminated #if
EOF

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

. $top_srcdir/tests/test-common