Sign in
gnu
/
gcc
/
19220ca6aa79921cc431e41f25986e16410c7a6a
/
.
/
gcc
/
testsuite
/
g++.dg
/
opt
/
eh1.C
blob: 63a4d2ef35f2427f9612c64410023dfe92d0df12 [
file
] [
log
] [
blame
]
// PR middle-end/14477
// { dg-do compile }
// { dg-options "-O2 -fno-default-inline" }
struct
A
{
A
();
};
struct
B
{
B
(
const
A
*);
};
struct
C
{
B b
;
C
(
int
)
:
b
(
new
A
)
{}
};
C c
(
0
);