Debian Codegraph @

tests/ansi-5

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 t=`basenamescip-shell system . . basename. $0`
4
5 catscip-shell system . . cat. > $t.I <<\EOF
6 #if 0
7 #else /* multiline comment,
8 *then* text after #else */ this should elicit an error
9 #endif
10 EOF
11
12 catscip-shell system . . cat. > $t.EO <<\EOF
13 EOF
14
15 catscip-shell system . . cat. > $t.Ee <<\EOF
16 cppi: standard input: line 2: text following `#else' violates ANSI standard
17 EOF
18 #`
19
20 options='-c --ansi'
21 expected_status=1
22
23 . $top_srcdir/tests/test-common