mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-12-22 23:29:27 +00:00
21 lines
402 B
C++
21 lines
402 B
C++
/* Conformance Test 2.7.3.2: Ensure char variables are implemented as */
|
|
/* unsigned 8-bit integers */
|
|
main ()
|
|
{
|
|
char a;
|
|
int i;
|
|
|
|
for (i = 0; i < 256; i++)
|
|
{
|
|
a = i;
|
|
if (a != i)
|
|
goto Fail;
|
|
}
|
|
|
|
printf ("Passed Conformance Test 2.7.3.2\n");
|
|
return;
|
|
|
|
Fail:
|
|
printf ("Failed Conformance Test 2.7.3.2\n");
|
|
}
|