// RUN: %clang_cc1 -fsyntax-only -verify %s template struct X0 : T::template apply { X0(U u) : T::template apply(u) { } }; template struct X1 : T::apply { }; // expected-error{{missing 'template' keyword prior to dependent template name 'T::apply'}} template struct X2 : vector { }; // expected-error{{unknown template name 'vector'}}