blob: cf3373964a224801f298ebdca233c9aa95d8fd6d [file] [log] [blame]
// { dg-do assemble }
// GROUPS passed niklas ellipsis
void f ();
void g1 (void (*) (...)); void h1 () { g1 (f); }// { dg-error "invalid conversion" }
struct S { void g2 (void (*) (...)); void h2 () { g2 (f); } };// { dg-error "match" "match" }
// { dg-message "candidates" "note" { target *-*-* } 5 }