Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
pr81675.C
blob: 24a7a3b067747ec888b2ffae0b949c9eeca12086 [
file
] [
log
] [
blame
]
// PR c++/81675
// { dg-do compile }
// { dg-options "-Wall" }
struct
S
{
~
S
()
__attribute__
((
noreturn
));
int
a
;
};
int
foo
()
{
false
?
5
:
S
().
a
;
}