1 // { dg-do assemble  }
2 // GROUPS passed arg-matching
3 // arg-matching file
4 // Message-Id: <9305032310.AA03900@malachite.bbn.com>
5 // From: Dan Franklin <dan@diamond.bbn.com>
6 // Subject: overloaded function bug
7 // Date: Mon, 3 May 93 19:10:10 EDT
8 
9 
10     typedef int (*fnp)(int, void*);
11     void dispatch_insert(int, int, fnp, void* = 0);
12     void dispatch_insert(int, int, long*, char*);
13     typedef void (*InsertFunP)(int, int, fnp, void*);
14     extern void f(InsertFunP);
g()15     void g() { f(dispatch_insert); }
16