Showing the changes to tests (1 of 2 files). Show all
Unified · Split
| @@ -230,6 +230,17 @@ void ret(void) · 229 unmodified lines | ||
| 230 | 230 | printf("%.1Lf %.1Lf\n", fr_hfa34().a, fr_hfa34().d); |
| 231 | 231 | } |
| 232 | 232 | |
| 233 | +void* | |
| 234 | +va_arg_with_struct_ptr(va_list ap) { | |
| 235 | + /* | |
| 236 | + * This was a BUG identified with FFTW-3.3.8 on arm64. | |
| 237 | + * The test case only checks it compiles. | |
| 238 | + */ | |
| 239 | + struct X { int _x; }; | |
| 240 | + struct X *x = va_arg(ap, struct X *); | |
| 241 | + return x; | |
| 242 | +} | |
| 243 | + | |
| 233 | 244 | int match(const char **s, const char *f) |
| 234 | 245 | { |
| 235 | 246 | const char *p = *s; |