Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
inh-ctor16.C
blob: ba6849f03496c68ba891bdc3bfcd2dec9bcffb70 [
file
] [
log
] [
blame
]
// PR c++/56285
// { dg-do compile { target c++11 } }
struct
foo
{
explicit
foo
(
int
&&)
{}
};
struct
bar
:
private
foo
{
using
foo
::
foo
;
};
int
main
()
{
bar b
{
42
};
}