2 pr35800.c from the execute part of the gcc torture tests.
9 #pragma disable_warning 84
12 int stab_xcoff_builtin_type (int typenum
)
15 if (typenum
>= 0 || typenum
< -34)
32 name
= "unsigned char";
36 name
= "unsigned short";
38 name
= "unsigned int";
42 name
= "unsigned long";
74 name
= "double complex";
86 name
= "unsigned long long";
96 testTortureExecute (void)
99 if (stab_xcoff_builtin_type(0) != 0)
101 if (stab_xcoff_builtin_type(-1) != 'i')
103 if (stab_xcoff_builtin_type(-2) != 's')
105 if (stab_xcoff_builtin_type(-3) != 's')
107 for (i
= -4; i
>= -34; --i
)
108 if (stab_xcoff_builtin_type(i
) != 'i')
110 if (stab_xcoff_builtin_type(-35) != 0)