Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
inh-ctor31.C
blob: 071f1789a3b75f40fdeb90fa698b9bc9a57570ba [
file
] [
log
] [
blame
]
// PR c++/84447
// { dg-do compile { target c++11 } }
struct
A
{
template
<
typename
T
>
A
(
T
,
T
=
0
)
=
delete
;
};
struct
B
:
A
{
using
A
::
A
;
// { dg-error "deleted" }
};
B b
(
0
);
// { dg-error "deleted" }