URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.mike/] [p6746.C] - Rev 414
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// prms-id: 6746
class call_trace {
public:
call_trace(const char* fcn_name);
~call_trace();
};
static char * last_tree;
extern "C" void prt();
char * smt_mark_stree() {
const char* _my_name = "smt_mark_stree" ;
call_trace _t(_my_name);
return last_tree = 0 ? (char*)0 : (prt(), (char*)0);
}
Go to most recent revision | Compare with Previous | Blame | View Log