Showing the changes to tests (1 of 1 file). Show all
Unified · Split
| @@ -1173,6 +1173,10 @@ void char_short_test() · 1172 unmodified lines | |||
| 1173 | the presence of undefined behaviour (like __csf is). */ | 1173 | the presence of undefined behaviour (like __csf is). */ |
| 1174 | var1 = csf(unsigned char,0x89898989); | 1174 | var1 = csf(unsigned char,0x89898989); |
| 1175 | var4 = csf(signed char,0xabababab); | 1175 | var4 = csf(signed char,0xabababab); |
| 1176 | #ifdef __clang__ | ||
| 1177 | /* on macos 15 arm64 this prints -1987475063 instead of 137 */ | ||
| 1178 | var1 &= 0xff; | ||
| 1179 | #endif | ||
| 1176 | printf("promote char/short funcret %d "LONG_LONG_FORMAT"\n", var1, var4); | 1180 | printf("promote char/short funcret %d "LONG_LONG_FORMAT"\n", var1, var4); |
| 1177 | printf("promote char/short fumcret VA %d %d %d %d\n", | 1181 | printf("promote char/short fumcret VA %d %d %d %d\n", |
| 1178 | csf(unsigned short,0xcdcdcdcd), | 1182 | csf(unsigned short,0xcdcdcdcd), |