| 1 | #!/bin/sh |
| 2 | |
| 3 | t=`basename $0` |
| 4 | |
| 5 | cat > $t.I <<\EOF |
| 6 | #if 0 |
| 7 | |
| 8 | # define A 1 |
| 9 | |
| 10 | #define B 1 |
| 11 | #endif |
| 12 | EOF |
| 13 | |
| 14 | cat > $t.EO <<\EOF |
| 15 | EOF |
| 16 | |
| 17 | cat > $t.Ee <<\EOF |
| 18 | cppi: standard input: line 5: not properly indented |
| 19 | EOF |
| 20 | |
| 21 | options=-c |
| 22 | expected_status=1 |
| 23 | |
| 24 | . $top_srcdir/tests/test-common |