☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
pr65049.C
☽
☼
gcc/testsuite/g++.dg/pr65049.C
code
plain
raw
1
// PR middle-end/65409
2
// Reported by Ignacy Gawedzki <
[email protected]
>
3
4
struct Foo
5
{
6
Foo() {}
7
int a;
8
int b;
9
char c;
10
};
11
12
Foo copy_foo(Foo);
13
14
struct Bar : Foo
15
{
16
Bar(Foo t) : Foo(copy_foo(t)) {}
17
};
18
19
Bar a = Foo();