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
PR middle-end/77674
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wunused-16.C
blob
c9e57f79b54b509a4e17abb271ee88b496d7ca38
1
// { dg-do compile }
2
// { dg-options "-Wunused-value" }
3
4
extern void f1();
5
void
6
f(bool b)
7
{
8
b ? f1(), 0 : 0; // { dg-bogus "has no effect" }
9
}