]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/constexpr-list1.C
aarch64: Use bitreverse rtl code instead of unspec [PR115176]
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-list1.C
1 // PR c++/72457
2 // { dg-do compile { target c++11 } }
3
4 struct A {
5 int i;
6 constexpr A(): i(0) {}
7 };
8
9 struct B: A { };
10
11 struct C
12 {
13 B b;
14 constexpr C() : b{} {}
15 };