| 1 | // RUN: %clang_cc1 -fsyntax-only -std=c11 -verify %s |
|---|---|
| 2 | // expected-no-diagnostics |
| 3 | |
| 4 | // XFAIL: windows- |
| 5 | |
| 6 | #ifndef __BIGGEST_ALIGNMENT__ |
| 7 | #error __BIGGEST_ALIGNMENT__ not defined |
| 8 | #endif |
| 9 | |
| 10 | #include <stddef.h> |
| 11 | |
| 12 | _Static_assert(__BIGGEST_ALIGNMENT__ == _Alignof(max_align_t), ""); |
| 13 |