OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2010-02-10 Joost VandeVondele <jv244@cam.ac.uk>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr26632.c
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
}