// { dg-do compile }// Origin: Richard Guenther <rguenth@tat.physik.uni-tuebingen.de>// PR c++/9432: ICE in validate_nonmember_using_decl when decl is a // SCOPE_REF.template<classT>structFoo;template<classT>structBar:publicFoo<T>{voidfoo(){usingFoo<T>::i;// { dg-error "not a namespace" }}};