URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lto/] [20091026-1_1.C] - Rev 718
Go to most recent revision | Compare with Previous | Blame | View Log
#include "20091026-1_a.h"
extern cHead networks;
class cNetworkType;
inline cNetworkType *findNetwork(const char *s)
{
return (cNetworkType *)networks.find(s);
}
int run(const char *opt_network_name)
{
cNetworkType *network = findNetwork(opt_network_name);
if (!network)
throw 1;
}
Go to most recent revision | Compare with Previous | Blame | View Log