1// PR c++/34774
2
3template<int shifts>
4struct shift {
5  enum {
6    n0 = (unsigned)shifts,
7    n = n0 ? 0 : n0,
8    n_comp = -n
9  } x;
10};
11