Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
inh-ctor11a.C
blob: 61b251eb0ba1531a4fa1ba6b47e78b6d0a1283d5 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
// { dg-options -fnew-inheriting-ctors }
struct
A
{
A
(
int
,
...);
};
struct
B
:
A
{
using
A
::
A
;
};
B b1
(
42
);
B b2
(
42
,
1.0
);
// { dg-bogus "ellipsis" "" { xfail *-*-* } }