Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/inh-ctor23.C

raw
1 // PR c++/78124
2 // { dg-do compile { target c++11 } }
3
4 struct base {
5 explicit constexpr base(int&&) {}
6 };
7
8 struct derived: base {
9 using base::base;
10 };
11
12 int main()
13 {
14 derived d { 0 };
15 }
16