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
Corrected date in changelog
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr26632.c
blob
1cc843ebd0c5e10027802cfcc61911193180ea9c
1
/* PR middle-end/26632
2
We used to issue a warning for an implicit cast whose result is not
3
used. */
4
/* { dg-do compile } */
5
/* { dg-options "-Wall" } */
6
7
int
g
(
void
);
8
long
h
(
void
);
9
10
void
11
f
(
void
)
12
{
13
0
?
h
() :
g
();
/* { dg-bogus "value computed is not used" } */
14
}