Home | History | Annotate | Download | only in SemaCXX

Lines Matching refs:NS

196   namespace ns {
200 using ns::counter;
214 namespace ns {
221 int *ns::count_ptr = &count;
291 namespace NS {
292 int a; // expected-note {{'NS::a' declared here}}
293 int longer_b; //expected-note {{'NS::longer_b' declared here}}
298 int foobar = a + longer_b; // expected-error {{use of undeclared identifier 'a'; did you mean 'NS::a'?}} \
299 // expected-error {{use of undeclared identifier 'longer_b'; did you mean 'NS::longer_b'?}}
415 namespace ns {
421 int x1 = ns::an_enumeration::ENUMERATOR; // expected-warning{{use of enumeration in a nested name specifier is a C++11 extension}}
423 int x2 = ns::an_enumeration::ENUMERATOR::vvv; // expected-warning{{use of enumeration in a nested name specifier is a C++11 extension}} \
426 int x3 = ns::an_enumeration::X; // expected-warning{{use of enumeration in a nested name specifier is a C++11 extension}} \