// { dg-require-effective-target c++11 } template struct A {}; template using alias1 = A; template class B { using alias2 = alias1>; // { dg-error {no type named 'value'} } A a; // { dg-bogus {no type named 'value'} } }; B b;