Home | History | Annotate | Download | only in SemaCXX

Lines Matching refs:n1

389   namespace n1 {
404 using namespace n1;
409 // expected-error@-2 {{explicit instantiation of 'pi1a<float>' not in a namespace enclosing 'n1'}}
413 template<> double pi1a<double> = 5.2; // expected-error {{variable template specialization of 'pi1a' must originally be declared in namespace 'n1'}}
418 int i1 = n1::pi1b<int>;
420 template float n1::pi1b<float>;
422 // expected-error@-2 {{explicit instantiation of 'pi1b<float>' not in a namespace enclosing 'n1'}}
424 float f1 = n1::pi1b<float>;
426 template<> double n1::pi1b<double> = 5.2; // expected-error {{cannot define or redeclare 'pi1b' here because namespace 'use_n1b' does not enclose namespace 'n1'}} \
427 // expected-error {{variable template specialization of 'pi1b' must originally be declared in namespace 'n1'}}
428 double d1 = n1::pi1b<double>;