Debian Codegraph @

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

raw
1 // PR c++/87506
2 // { dg-do compile { target c++11 } }
3
4 struct A {};
5 struct B { constexpr B (const A) {} };
6 struct C : B { using B::B; };
7
8 void
9 foo ()
10 {
11 C c (A{});
12 }