File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ def err_unterminated___pragma : Error<"missing terminating ')' character">;
9191def err_conflict_marker : Error<"version control conflict marker in file">;
9292
9393def err_counter_overflow : Error<
94- "'__COUNTER__' value cannot exceed 2147483647 ">;
94+ "'__COUNTER__' value cannot exceed 2'147'483'647 ">;
9595def ext_counter : Extension<
9696 "'__COUNTER__' is a C2y extension">, InGroup<C2y>;
9797def warn_counter : Warning<
Original file line number Diff line number Diff line change @@ -16,5 +16,5 @@ static_assert(__COUNTER__ == 2147483646); // Test and increment
1616static_assert (__COUNTER__ == 2147483647 ); // Test and increment
1717
1818// This one should fail.
19- signed long i = __COUNTER__ ; // expected-error {{'__COUNTER__' value cannot exceed 2147483647 }}
19+ signed long i = __COUNTER__ ; // expected-error {{'__COUNTER__' value cannot exceed 2'147'483'647 }}
2020
Original file line number Diff line number Diff line change 66// the value too large is fine. Expanding to a too-large value is not.
77#ifdef EXPAND_IT
88 // This one should fail.
9- signed long i = __COUNTER__ ; // expected-error {{'__COUNTER__' value cannot exceed 2147483647 }}
9+ signed long i = __COUNTER__ ; // expected-error {{'__COUNTER__' value cannot exceed 2'147'483'647 }}
1010#endif
You can’t perform that action at this time.
0 commit comments