Lines Matching refs:ns
14 namespace ns {
23 static void f() { ns::A x; }
29 namespace ns {
37 static void f() { ns::A x; }
43 namespace ns {
51 static void f() { ns::A x; }
57 namespace ns {
59 // Amusingly, in MSVC, this declares ns::f(), and doesn't find the outer f().
65 void f() { ns::A x; } // expected-error {{calling a protected constructor of class 'enclosing_friend_func::ns::A'}}