Sign in
gnu
/
gcc
/
a8404c07e7fca388c02c39077865f7d5fa928430
/
.
/
gcc
/
testsuite
/
g++.dg
/
pr65049.C
blob: 7ced500a6f78d6b521307c03df8b55b79061d649 [
file
] [
log
] [
blame
]
// PR middle-end/65409
// Reported by Ignacy Gawedzki <bugs@qult.net>
struct
Foo
{
Foo
()
{}
int
a
;
int
b
;
char
c
;
};
Foo
copy_foo
(
Foo
);
struct
Bar
:
Foo
{
Bar
(
Foo
t
)
:
Foo
(
copy_foo
(
t
))
{}
};
Bar
a
=
Foo
();