Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
};
}