re PR c++/84691 (internal compiler error: in poplevel_class, at cp/name-lookup.c...
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / using7.C
blobf774021d9b44649e72c24825be7effa5058cbe7b
1 template <typename T, bool=T::X> struct A
3   int i;
4 };
6 template <typename T> struct B : A<T> // { dg-error "incomplete" }
8   using A<T>::i; // { dg-error "incomplete" "incomplete" } 
9                  // { dg-error "using" "using" { target *-*-* } .-1 }
12 B<void> b; // { dg-message "required" }