blob: a3c5bc024217f35093b60609f92b6a7998055811 [file] [log] [blame]
// { dg-do assemble }
// Origin: Raja R Harinath <harinath@cs.umn.edu>
enum ReservedName {
rIGNORE,
rINCLUDE
};
void maybeStatusKeyword()
{
static const ReservedName statusKeywords[] = { rINCLUDE, rIGNORE };
for (int i = 0; i < 2; i++) {
ReservedName r = statusKeywords[i];
}
}