Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
bases3.C
blob: d4c43d483279062efcadc3bebe57ec97e8e81c46 [
file
] [
log
] [
blame
]
// PR c++/85146
// { dg-do compile { target c++11 } }
template
<
typename
...>
struct
A
{};
template
<
typename
T
>
struct
B
{
typedef
A
<
__direct_bases
(
T
)...>
C
;
// { dg-error "incomplete type" }
};
struct
X
;
B
<
X
>
b
;