Adjust a test for long numeric constants.

The 255-character limit for numeric constants now includes any suffix.
This commit is contained in:
Stephen Heumann 2024-08-21 18:22:05 -05:00
parent 347ad00ff7
commit 55898ddd60

View File

@ -30,12 +30,12 @@ int main (void)
if ((a != 0x8000f150) || (b != 020000170520))
goto Fail;
/* Test octal digit string with 255 characters */
/* Test octal digit string with 255 characters (including suffix) */
a = \
000000000000000000000000000000000000000000000000000000000000000000000000000\
000000000000000000000000000000000000000000000000000000000000000000000000000\
000000000000000000000000000000000000000000000000000000000000000000000000000\
000000000000000000000000000007uL;
0000000000000000000000000007uL;
if (a != 7)
goto Fail;