1 enum num { 2 a = 0x80000000, 3 b = -1, 4 }; 5 6 _Static_assert([typeof(b)] == [long], "type"); 7 _Static_assert(b == -1L, "value"); 8 9 /* 10 * check-name: enum-sign-extend 11 * check-command: sparse -m64 $file 12 */ 13