URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.mike/] [ns12.C] - Rev 12
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;
}
}