repo.or.cz
/
cppi.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
build: depend on gnulib's calloc-gnu, not calloc
[cppi.git]
/
tests
/
ansi-8
blob
ad8e98027fee97cc00f8111b8b5acf85094572fd
1
#!/bin/sh
2
3
t
=
`basename
$0
`
4
5
cat
>
$t
.I
<<
\EOF
6
#if 1
7
# if 0
8
# define x y
9
# endif (ansi violation)
10
#endif
11
EOF
12
13
cat
>
$t
.EO
<<
\EOF
14
EOF
15
16
cat
>
$t
.Ee
<<
\EOF
17
cppi
:
standard input
:
line
4
:
text following
`#endif' violates ANSI standard
18
EOF
19
20
options='-c --ansi'
21
expected_status=1
22
23
.
$top_srcdir
/tests/test-common