mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-12-26 19:29:17 +00:00
Adjust a test for long numeric constants.
The 255-character limit for numeric constants now includes any suffix.
This commit is contained in:
parent
347ad00ff7
commit
55898ddd60
@ -30,12 +30,12 @@ int main (void)
|
|||||||
if ((a != 0x8000f150) || (b != 020000170520))
|
if ((a != 0x8000f150) || (b != 020000170520))
|
||||||
goto Fail;
|
goto Fail;
|
||||||
|
|
||||||
/* Test octal digit string with 255 characters */
|
/* Test octal digit string with 255 characters (including suffix) */
|
||||||
a = \
|
a = \
|
||||||
000000000000000000000000000000000000000000000000000000000000000000000000000\
|
000000000000000000000000000000000000000000000000000000000000000000000000000\
|
||||||
000000000000000000000000000000000000000000000000000000000000000000000000000\
|
000000000000000000000000000000000000000000000000000000000000000000000000000\
|
||||||
000000000000000000000000000000000000000000000000000000000000000000000000000\
|
000000000000000000000000000000000000000000000000000000000000000000000000000\
|
||||||
000000000000000000000000000007uL;
|
0000000000000000000000000007uL;
|
||||||
if (a != 7)
|
if (a != 7)
|
||||||
goto Fail;
|
goto Fail;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user