2 // { dg-do compile { target c++11 } }
4 void foo () {} // { dg-message "previously defined here" }
9 friend void foo () = delete; // { dg-error "redefinition of" }
10 friend void bar () = delete; // { dg-message "previously defined here" }
13 void bar () {} // { dg-error "redefinition of" }