1 // PR c++/67625
2 // { dg-do compile { target c++11 } }
3 
4 constexpr unsigned short
bswap16(unsigned short x)5 bswap16 (unsigned short x)
6 {
7   return __builtin_bswap16 (x);
8 }
9 constexpr int a = bswap16 (1);
10 enum { b = a };
11 enum { c = __builtin_bswap16 (1) };
12 enum { d = bswap16 (1) };
13