// RUN: %clang_cc1 -verify %s -std=c++11
;
;
A // expected-error {{missing 'typename' prior to dependent type template name 'A<T>::B'}}
<T>::B<T> ;
A<T>::C<T> ; // expected-error {{missing 'typename' prior to dependent type template name 'A<T>::C'}}
// FIXME: Should these cases really be valid? There doesn't appear to be a rule prohibiting them...
A<T>::C<X>
A<T>::C<X>
// FIXME: This is ill-formed
int A<T>::B<T>::*
int A<T>::C<X>::*
// FIXME: This is valid
int A<T>::template C<int>::* // expected-error {{has no members}}
;