8sa1-gcc/gcc/testsuite/g++.old-deja/g++.mike/ns12.C
Jason Merrill 75cf27d4c9 update
From-SVN: r18228
1998-02-24 19:55:32 -05:00

15 lines
215 B
C

namespace {
int i = 10;
enum fish { one = 1, two = 2, red = 3, blue = 4 };
}
extern "C" void printf (const char *, ...);
int main(void)
{
if (i != 10) {
return 1;
}
if (one != 1) {
return 2;
}
}