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