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:
Jason Liu 2019-03-14 20:27:39 +00:00
parent 4af1c26502
commit c4420b00f1
1 changed files with 12 additions and 0 deletions

View File

@ -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), "");