This tests warning flags, so no need to test for specific alignment which is
platform-dependent.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188993
91177308-0d34-0410-b5e6-
96231b3b80d8
#endif
-#ifdef __s390x__
-#define EXPECTED_ALIGN 2
-#else
-#define EXPECTED_ALIGN 1
-#endif
-
#if ALL || ALIGNOF
// expected-warning@+4 {{'_Alignof' applied to an expression is a GNU extension}}
#endif
char align;
-_Static_assert(_Alignof(align) == EXPECTED_ALIGN, "align's alignment is wrong");
+_Static_assert(_Alignof(align) > 0, "align's alignment is wrong");
#if ALL || CASERANGE