Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
inh-ctor30.C
blob: 494dd91bb80cdd4a1018748de977ac907f2055c6 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
struct
A
{
A
(
double
);
};
struct
B
:
A
{
B
(
short
);
using
A
::
A
;
};
int
main
()
{
B b
(
1
);
// { dg-error "ambiguous" }
}