1 // { dg-do assemble  }
2 // Origin: Raja R Harinath <harinath@cs.umn.edu>
3 
4 enum ReservedName {
5   rIGNORE,
6   rINCLUDE
7 };
8 
maybeStatusKeyword()9 void maybeStatusKeyword()
10 {
11   static const ReservedName statusKeywords[] = { rINCLUDE, rIGNORE };
12   for (int i = 0; i < 2; i++) {
13     ReservedName r = statusKeywords[i];
14   }
15 }
16