2017-10-21 23:40:19 +00:00
|
|
|
/* Conformance Test 2.5.0.7: Test characters comprising identifiers for */
|
|
|
|
/* preprocessor macros */
|
2022-10-17 22:50:42 +00:00
|
|
|
|
|
|
|
int printf(const char *, ...);
|
|
|
|
|
2017-10-21 23:40:19 +00:00
|
|
|
#define _____________________________________________9 10
|
|
|
|
|
|
|
|
#define ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\
|
|
|
|
_____________01234567899876543210ABCDEFGHIJKLMNOPQRSTUVWXYZ\
|
|
|
|
abcdefghijklmnopqrstuvwxyz_____________01234567899876543210\
|
|
|
|
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_____________\
|
|
|
|
01234567899876543210 20
|
|
|
|
|
|
|
|
#define ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\
|
|
|
|
_____________01234567899876543210ABCDEFGHIJKLMNOPQRSTUVWXYZ\
|
|
|
|
abcdefghijklmnopqrstuvwxyz_____________01234567899876543210\
|
|
|
|
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_____________\
|
|
|
|
0123456789987654321 30
|
|
|
|
|
2022-10-17 22:50:42 +00:00
|
|
|
int main (void)
|
2017-10-21 23:40:19 +00:00
|
|
|
{
|
|
|
|
if (_____________________________________________9 != 10)
|
|
|
|
goto Fail;
|
|
|
|
|
|
|
|
if (ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_____________\
|
|
|
|
01234567899876543210ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrs\
|
|
|
|
tuvwxyz_____________01234567899876543210ABCDEFGHIJKLMNOPQRSTUVWXY\
|
|
|
|
Zabcdefghijklmnopqrstuvwxyz_____________01234567899876543210 != 20)
|
|
|
|
goto Fail;
|
|
|
|
|
|
|
|
if (ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_____________\
|
|
|
|
01234567899876543210ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrs\
|
|
|
|
tuvwxyz_____________01234567899876543210ABCDEFGHIJKLMNOPQRSTUVWXY\
|
|
|
|
Zabcdefghijklmnopqrstuvwxyz_____________0123456789987654321 != 30)
|
|
|
|
goto Fail;
|
|
|
|
|
|
|
|
printf ("Passed Conformance Test 2.5.0.7\n");
|
2022-10-17 22:50:42 +00:00
|
|
|
return 0;
|
2017-10-21 23:40:19 +00:00
|
|
|
|
|
|
|
Fail:
|
|
|
|
printf ("Failed Conformance Test 2.5.0.7\n");
|
|
|
|
}
|