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" }