Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
inh-ctor13.C
blob: bd021e6e6d5c86253653c857a3833bee1cefc275 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
struct
A
{
int
i
;
template
<
class
T
>
A
(
T t
);
};
struct
C
{
C
()
=
delete
;
// { dg-message "declared here" }
};
struct
B
:
A
,
C
{
using
A
::
A
;
// { dg-error "C::C" }
};
int
main
()
{
B b
(
24
);
// { dg-error "B::B" }
}