Clang Project

clang_source_code/test/Headers/max_align.c
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