summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/ptolemy1.C
blob: c5987fce03caee9ca6cae02808f468e9b7f75ef3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// { dg-do assemble  }
// GROUPS passed ptolemy-bugs
class Tcl_Interp;

class PTcl {
public:
	PTcl(Tcl_Interp* interp = 0);
	~PTcl();
	int alias(int argc,char** argv);
};

typedef int (PTcl::*InterpFuncP)(int,char**);

struct InterpTableEntry {
	const char* name;
	InterpFuncP func;
};

 
static InterpTableEntry funcTable[] = {
	{ "alias" , &PTcl::alias  } ,
	0, 0
};