[go: up one dir, main page]

File: e8

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 (25 lines) | stat: -rwxr-xr-x 445 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
25
#!/bin/sh

t=`basename $0`

cat > $t.I <<\EOF
/*comments with asterisk before newline used to mess up line counting*
*/
# if(FOO)
#endif
EOF

cat > $t.EO <<\EOF
EOF

cat > $t.Ee <<\EOF
cppi: standard input: line 3: not properly indented
cppi: standard input: line 3: not properly formatted;
there must be exactly one SPACE character after each
#if, #elif, and #define directive
EOF

options=-c
expected_status=1

. $top_srcdir/tests/test-common