Skip to content

Commit

Permalink
Reland part of "Add AIX Target Info"
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jasonliudev committed Mar 14, 2019
1 parent 4af1c26 commit c4420b0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions clang/test/Headers/max_align.c
@@ -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), "");

0 comments on commit c4420b0

Please sign in to comment.