]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/inh-ctor16.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / inh-ctor16.C
CommitLineData
d8af1a55 1// PR c++/56285
4b2e63de 2// { dg-do compile { target c++11 } }
d8af1a55
JM
3
4struct foo {
5 explicit foo(int&&) {}
6};
7
8struct bar: private foo {
9 using foo::foo;
10};
11
12int main()
13{
14 bar b { 42 };
15}
This page took 4.699124 seconds and 5 git commands to generate.