Lines Matching refs:foo

14   namespace ns { void foo(); } // expected-note {{target of using declaration}}
15 int foo(void); // expected-note {{conflicting declaration}}
16 using ns::foo; // expected-error {{target of using declaration conflicts with declaration already in scope}}
20 namespace ns { void foo(); } // expected-note {{target of using declaration}}
21 using ns::foo; //expected-note {{using declaration}}
22 int foo(void); // expected-error {{declaration conflicts with target of using declaration already in scope}}
26 namespace ns { void foo(); } // expected-note 2 {{target of using declaration}}
28 int foo(void); // expected-note {{conflicting declaration}}
29 using ns::foo; // expected-error {{target of using declaration conflicts with declaration already in scope}}
33 using ns::foo; //expected-note {{using declaration}}
34 int foo(void); // expected-error {{declaration conflicts with target of using declaration already in scope}}
39 namespace ns { void foo(); } // expected-note 2 {{target of using declaration}}
42 int foo(void); // expected-note {{conflicting declaration}}
43 using ns::foo; // expected-error {{target of using declaration conflicts with declaration already in scope}}
49 using ns::foo; //expected-note {{using declaration}}
50 int foo(void); // expected-error {{declaration conflicts with target of using declaration already in scope}}
56 namespace ns { void foo(); } // expected-note 2 {{target of using declaration}}
59 int foo(void); // expected-note {{conflicting declaration}}
60 using ns::foo; // expected-error {{target of using declaration conflicts with declaration already in scope}}
66 using ns::foo; //expected-note {{using declaration}}
67 int foo(void); // expected-error {{declaration conflicts with target of using declaration already in scope}}
74 namespace ns { void foo(int); }
77 int foo(T);
78 using ns::foo;
84 using ns::foo;
85 int foo(T);