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 lto/84212 - -Wno-* does not disable warnings from -flto link stage
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
pr81675.C
blob
24a7a3b067747ec888b2ffae0b949c9eeca12086
1
// PR c++/81675
2
// { dg-do compile }
3
// { dg-options "-Wall" }
4
5
struct S
6
{
7
~S () __attribute__((noreturn));
8
int a;
9
};
10
11
int
12
foo ()
13
{
14
false ? 5 : S ().a;
15
}