1 enum num {
2 	NEG = -1,
3 	NIL = 0,
4 	ONE = 1U,
5 	DUO = 2LL,
6 };
7 
8 _Static_assert([typeof(NIL)] == [typeof(NEG)], "enum same type");
9 _Static_assert([typeof(ONE)] == [typeof(NEG)], "enum same type");
10 _Static_assert([typeof(DUO)] == [typeof(NEG)], "enum same type");
11 
12 /*
13  * check-name: enum-same-type
14  */
15