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/] [ns12.C] - Rev 307
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do run }
namespace {
int i = 10;
enum fish { one = 1, two = 2, red = 3, blue = 4 };
}
extern "C" int printf (const char *, ...);
int main(void)
{
if (i != 10) {
return 1;
}
if (one != 1) {
return 2;
}
}
Go to most recent revision | Compare with Previous | Blame | View Log