• Home
  • Raw
  • Download

Lines Matching full:using

6 //   introduced by a using-declaration, and the declarations do not declare the
7 // same function, the program is ill-formed. [Note: two using-declarations may
10 // selects the functions introduced by such using-declarations, the function
16 namespace ns { void foo(); } // expected-note {{target of using declaration}}
18using ns::foo; // expected-error {{target of using declaration conflicts with declaration already …
22 namespace ns { void foo(); } // expected-note {{target of using declaration}}
23 using ns::foo; //expected-note {{using declaration}}
24 …int foo(void); // expected-error {{declaration conflicts with target of using declaration already …
28 namespace ns { void foo(); } // expected-note 2 {{target of using declaration}}
31using ns::foo; // expected-error {{target of using declaration conflicts with declaration already … in test0()
35 using ns::foo; //expected-note {{using declaration}} in test1()
36 …int foo(void); // expected-error {{declaration conflicts with target of using declaration already … in test1()
41 namespace ns { void foo(); } // expected-note 2 {{target of using declaration}}
45using ns::foo; // expected-error {{target of using declaration conflicts with declaration already … in test()
51 using ns::foo; //expected-note {{using declaration}} in test()
52 …int foo(void); // expected-error {{declaration conflicts with target of using declaration already … in test()
58 namespace ns { void foo(); } // expected-note 2 {{target of using declaration}}
62using ns::foo; // expected-error {{target of using declaration conflicts with declaration already … in test()
68 using ns::foo; //expected-note {{using declaration}} in test()
69 …int foo(void); // expected-error {{declaration conflicts with target of using declaration already … in test()
80 using ns::foo; in test()
86 using ns::foo; in test()
96 namespace ns { void foo(); } // expected-note {{target of using declaration}}
97 using ns::foo; // expected-note {{using declaration}}
99 using test6::foo;
102 …void foo(); // expected-error {{declaration conflicts with target of using declaration already in …
107 using test7::foo;