Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
ipa
/
pr43695.C
blob: a01478324b0b2ce06eb4902aa6431d89f42dd4fb [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-fipa-cp -fipa-cp-clone" } */
extern
void
baz
(
int
)
__attribute__
((
noreturn
));
struct
S
{
~
S
();
};
__attribute__
((
noreturn
,
noinline
))
void
bar
(
int
i
)
{
baz
(
i
);
}
void
foo
()
{
S s
;
bar
(
0
);
}