forked from OSchip/llvm-project
Reland part of "Add AIX Target Info"
This patch reland the test case max_align.c which is failing at Windows and PS4 platform in the previous commit. Differential Revision: https://reviews.llvm.org/D59048 original llvm-svn: 356060 llvm-svn: 356197
This commit is contained in:
parent
4af1c26502
commit
c4420b00f1
|
@ -0,0 +1,12 @@
|
|||
// RUN: %clang_cc1 -fsyntax-only -std=c11 -verify %s
|
||||
// expected-no-diagnostics
|
||||
|
||||
// XFAIL: windows-
|
||||
|
||||
#ifndef __BIGGEST_ALIGNMENT__
|
||||
#error __BIGGEST_ALIGNMENT__ not defined
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
_Static_assert(__BIGGEST_ALIGNMENT__ == _Alignof(max_align_t), "");
|
Loading…
Reference in New Issue