Lines Matching full:namespace
7 namespace std {
17 namespace otherstd { // expected-note 2{{'otherstd' declared here}} \
18 // expected-note{{namespace 'otherstd' defined here}}
19 using namespace std;
22 using namespace std;
25 // expected-error{{no type named 'strng' in namespace 'otherstd'; did you mean 'string'?}}
28 ::other_std::string str3; // expected-error{{no member named 'other_std' in the global namespace; did you mean 'otherstd'?}}
35 using namespace othestd; // expected-error{{no namespace named 'othestd'; did you mean 'otherstd'?}}
36 namespace blargh = otherstd; // expected-note 3{{namespace 'blargh' defined here}}
37 using namespace ::blarg; // expected-error{{no namespace named 'blarg' in the global namespace; did you mean 'blargh'?}}
39 namespace wibble = blarg; // expected-error{{no namespace named 'blarg'; did you mean 'blargh'?}}
40 namespace wobble = ::blarg; // expected-error{{no namespace named 'blarg' in the global namespace; did you mean 'blargh'?}}
44 std::basic_sting<char> b2; // expected-error{{no template named 'basic_sting' in namespace 'std'; did you mean 'basic_string'?}}
78 namespace nonstd {
84 wibble::yarn str5; // expected-error{{no type named 'yarn' in namespace 'otherstd'; did you mean 'nonstd::yarn'?}}
86 namespace another {
90 nonstd::basic_string<char> str; // expected-error{{no template named 'basic_string' in namespace 'nonstd'; did you mean simply 'basic_string'?}}
91 nonstd::wide_string<char> str2; // expected-error{{no template named 'wide_string' in namespace 'nonstd'; did you mean 'another::wide_string'?}}
92 return wibble::narf; // expected-error{{no member named 'narf' in namespace 'otherstd'; did you mean 'nonstd::narf'?}}
95 namespace check_bool {
101 namespace outr {
103 namespace outer {
104 namespace inner { // expected-note{{'outer::inner' declared here}} \
105 // expected-note{{namespace 'outer::inner' defined here}} \
111 using namespace outr::inner; // expected-error{{no namespace named 'inner' in namespace 'outr'; did you mean 'outer::inner'?}}
114 outr::inner::i = 3; // expected-error{{no member named 'inner' in namespace 'outr'; did you mean 'outer::inner'?}}
115 outer::innr::i = 4; // expected-error{{no member named 'innr' in namespace 'outer'; did you mean 'inner'?}}