llvm-project/clang/test/Headers/max_align.c

13 lines
275 B
C

// RUN: %clang_cc1 -fsyntax-only -std=c11 -verify %s
// expected-no-diagnostics
// XFAIL: windows-, i686
#ifndef __BIGGEST_ALIGNMENT__
#error __BIGGEST_ALIGNMENT__ not defined
#endif
#include <stddef.h>
_Static_assert(__BIGGEST_ALIGNMENT__ == _Alignof(max_align_t), "");