rokicki@Neon.Stanford.EDU (Tomas G. Rokicki) (01/19/90)
Never mind, 1.36.3 fixes the problem, except that
&funcname
doesn't work, but just
funcname
does. (Interestingly, the following segv's cc1plus:)
typedef int *(evalftype)(int, int) ;
class foo {
int t ;
evalftype *f ;
public:
foo(int a) { t = a ; f = 0 ; }
foo(evalftype *b, int a) { t = a ; f = b ; }
} ;
static int *bar(int a, int b) {
int *p = new int ;
*p = a - b ;
return p ;
}
foo *baz() {
return new foo(&bar, 12) ;
}