1*c87b03e5Sespie // Build don't link:
2*c87b03e5Sespie // GROUPS passed overloading
3*c87b03e5Sespie class Bed {
4*c87b03e5Sespie    public:
5*c87b03e5Sespie    static void bed_func(
6*c87b03e5Sespie       int        (*f)(int &, int, int));
7*c87b03e5Sespie };
8*c87b03e5Sespie class g_func {
9*c87b03e5Sespie public:
10*c87b03e5Sespie 	static int save_status;
11*c87b03e5Sespie 
12*c87b03e5Sespie 	// in compute_harshness, we should be using comptypes, not ==, to
13*c87b03e5Sespie 	// check if this is equivalent to the previous decl; the only
14*c87b03e5Sespie 	// difference is the default arg
15*c87b03e5Sespie 	static int rpt_func(int &status, int expand,
16*c87b03e5Sespie 		int restore_cursor=1 );
17*c87b03e5Sespie };
18*c87b03e5Sespie 
main(int argc,char ** argv,char ** envp)19*c87b03e5Sespie int  main (int argc,
20*c87b03e5Sespie            char **argv,
21*c87b03e5Sespie            char  **envp)
22*c87b03e5Sespie {
23*c87b03e5Sespie    Bed::bed_func(g_func::rpt_func);
24*c87b03e5Sespie    return(1);
25*c87b03e5Sespie }
26