version 1.18
[cppi.git] / tests / e8
blob73c1d87e899b7b02dac4f8c6c15bbcf7d483816d
1 #!/bin/sh
3 t=`basename $0`
5 cat > $t.I <<\EOF
6 /*comments with asterisk before newline used to mess up line counting*
7 */
8 # if(FOO)
9 #endif
10 EOF
12 cat > $t.EO <<\EOF
13 EOF
15 cat > $t.Ee <<\EOF
16 cppi: standard input: line 3: not properly indented
17 cppi: standard input: line 3: not properly formatted;
18 there must be exactly one SPACE character after each
19 #if, #elif, and #define directive
20 EOF
22 options=-c
23 expected_status=1
25 . $top_srcdir/tests/test-common