Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/rv-bitfield2.C

raw
1 // PR c++/51868
2 // { dg-do compile { target c++11 } }
3
4 struct A {
5 A() {}
6 A(const A&) {}
7 A(A&&) {}
8 };
9
10 struct B {
11 A a;
12 int f : 1;
13 };
14
15 B func() {
16 return B();
17 }