summaryrefslogtreecommitdiffstats
path: root/clang/test/Headers/max_align.c
blob: 67a914d6b67e35cf7aed9ce88b2aef8bc45ba5c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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), "");
OpenPOWER on IntegriCloud