1 /* { dg-do compile } */
2
3 enum { E0 = 0, E1 = 1, E2 = 2 } e;
4
5 int
6 foo (void)
7 {
8 return __builtin_popcount ((int) e);
9 }
10
11 /* { dg-final { scan-assembler-not "__builtin_popcount" } } */