repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr56989.c
blob
beb980678b2ab9453fab2db2cabd777d500569a1
1
/* PR c/56989 */
2
/* { dg-do compile } */
3
4
extern
void
voidf
(
void
);
5
extern
int
intf
(
void
);
6
7
int
8
f
(
void
)
9
{
10
if
(
intf
() <
0
11
||
voidf
() <
0
)
/* { dg-error "10:void value not ignored as it ought to be" } */
12
return
1
;
13
14
if
(
voidf
() <
0
/* { dg-error "7:void value not ignored as it ought to be" } */
15
||
intf
() <
0
)
16
return
1
;
17
18
return
0
;
19
}