1#!/bin/sh 2 3t=`basename $0` 4 5cat > $t.I <<\EOF 6#if (FOO) 7# error ick 8#else this is non-ansi 9#endif so is this 10EOF 11 12cat > $t.EO <<\EOF 13EOF 14 15cat > $t.Ee <<\EOF 16cppi: standard input: line 3: text following `#else' violates ANSI standard 17cppi: standard input: line 4: text following `#endif' violates ANSI standard 18EOF 19 20options='-c --ansi' 21expected_status=1 22 23. $top_srcdir/tests/test-common 24