Debian Codegraph @

gcc/testsuite/g++.dg/init/bitfield6.C

raw
1 // { dg-do compile { target c++11 } }
2
3 struct A
4 {
5 int : 8;
6 int i = 42;
7 };
8
9 constexpr A a;
10
11 struct B : A {
12 };
13
14 constexpr B b;
15
16 struct C {
17 int : 0;
18 };
19
20 constexpr C c;