Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
using7.C
blob: d92bf23d71d28ba15f642395a70958803af5c797 [
file
] [
log
] [
blame
]
template
<
typename
T
,
bool
=
T
::
X
>
struct
A
{
int
i
;
};
template
<
typename
T
>
struct
B
:
A
<
T
>
// { dg-error "incomplete" }
{
using
A
<
T
>::
i
;
// { dg-error "incomplete" "incomplete" }
};
B
<void>
b
;
// { dg-message "required" }