8sa1-gcc/gcc/testsuite/g++.old-deja/g++.mike/p6746.C
Jeff Law 921e5a0eb4 Initial revision
From-SVN: r14840
1997-08-19 01:34:40 -06:00

19 lines
316 B
C

// Build don't link:
// prms-id: 6746
class call_trace {
public:
call_trace(char* fcn_name);
~call_trace();
};
static char * last_tree;
extern "C" void prt();
char * smt_mark_stree() {
char* _my_name = "smt_mark_stree" ;
call_trace _t(_my_name);
return last_tree = 0 ? (char*)0 : (prt(), (char*)0);
}