2 // { dg-do compile { target c++11 } }
6 // According to C++11 / Clause 7.2/5 the following enumeration is
7 // well-formed. It is also well-formed in C++03 if UINT_MAX < ULONG_MAX,
8 // but C++11 adds long long.
10 enum Enum_Inc { EI_1=UINT_MAX, EI_2 }; // #1
12 // It is not equivalent to the following.
13 enum Enum_Inc2 { FI_1=UINT_MAX, FI_2=FI_1+1 }; // #2
15 #define SA(X) static_assert(X,#X)