2 // Origin: C++ Standard Draft (7.3.3/12)
3 // PR c++/2294: using declarations should not conflict, but only cause
4 // an ambiguous overload set to be created.
7 void f(int); // { dg-message "note" }
8 void f(double); // { dg-message "note" }
12 void f(int); // { dg-message "note" }
13 void f(double); // { dg-message "note" }
14 void f(char); // { dg-message "note" }
22 f(1); // { dg-error "ambiguous" }
23 void f(int); // { dg-error "previous declaration" }
29 using B::f; // { dg-error "previous declaration" }