URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lto/] [20101014-1_0.C] - Rev 751
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-lto-do run }
static const char *fname;
struct S
{
S () { fname = __func__; }
};
extern "C" void abort (void);
int
main ()
{
S tmp;
if (fname[0] != 'S')
abort ();
return 0;
}
Go to most recent revision | Compare with Previous | Blame | View Log