1 // RUN: %clang_cc1 %s -fsyntax-only -verify
2 
3 template<int IntBits> struct X {
4   enum {
5     IntShift = (unsigned long long)IntBits,
6     ShiftedIntMask = (1 << IntShift)
7   };
8 };
9 X<1> x;
10