blob: 43f06129b2057301776de2200b78de64110739d4 [file] [log] [blame]
// PR c++/23694
extern "C" struct A
{
friend void foo(int) {} // { dg-message "declaration" }
friend void foo() {} // { dg-error "foo" "err" }
};