summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.niklas/t120.C
blob: 7a54e051b1e59c6717b6850e775668bcc159d444 (plain)
1
2
3
4
5
6
// { dg-do assemble  }
// GROUPS passed niklas ellipsis
typedef void (*T) (...);
void f ();
struct S { void g (T); void h() { g(f); } };// { dg-error "match" "match" } 
// { dg-message "candidate|S::g|no known conversion" "match candidate text" { target *-*-* } 5 }