☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
warn
/
pr81675.C
☽
☼
gcc/testsuite/g++.dg/warn/pr81675.C
code
plain
raw
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
}