Lines Matching defs:NS
24 namespace NS {
32 namespace NS {
35 void NS::foo(); // expected-warning {{extra qualification}}
36 extern int NS::bar; // expected-warning {{extra qualification}}
37 struct NS::X; // expected-error {{forward declaration of struct cannot have a nested name specifier}} expected-warning {{extra qualification}}
38 template<typename T> struct NS::Y; // expected-error {{forward declaration of struct cannot have a nested name specifier}} expected-warning {{extra qualification}}
39 template<typename T> void NS::wibble(T); // expected-warning {{extra qualification}}
41 void NS::foo() {} // expected-warning{{extra qualification on member 'foo'}}
42 int NS::bar; // expected-warning{{extra qualification on member 'bar'}}
43 struct NS::X { }; // expected-warning{{extra qualification on member 'X'}}
44 template<typename T> struct NS::Y { }; // expected-warning{{extra qualification on member 'Y'}}
45 template<typename T> void NS::wibble(T) { } // expected-warning{{extra qualification on member 'wibble'}}
49 struct NS::Z:: {} b; // expected-error{{expected identifier}}