Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/constexpr-delegating3.C

raw
1 // PR c++/65816
2 // { dg-do compile { target c++11 } }
3
4 struct test {
5 int m;
6 test() = default;
7 constexpr test(int) : test() {}
8 };
9
10 static_assert(test(0).m == 0, "");