1 // RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
4 template<typename T
> struct X0
{ }; // expected-note{{here}}
7 template<typename T
> struct X1
{ };
10 template struct X0
<int>;
11 template struct Inner::X1
<int>;
14 template<typename T
> struct X2
{ }; // expected-note{{here}}
16 template struct ::N1::Inner::X1
<float>;
21 template struct X0
<double>; // expected-error{{must occur in namespace 'N1'}}
23 template struct X2
<float>; // expected-error{{at global scope}}