Debian Codegraph @

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

raw
1 // PR c++/56285
2 // { dg-do compile { target c++11 } }
3
4 struct foo {
5 explicit foo(int&&) {}
6 };
7
8 struct bar: private foo {
9 using foo::foo;
10 };
11
12 int main()
13 {
14 bar b { 42 };
15 }