Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 %s -fsyntax-only -verify |
Eli Friedman | ed0716b | 2009-12-11 01:34:50 +0000 | [diff] [blame] | 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; |