[FIX][NFC] Update clang sema test

Try to fix Sema test for default alignment for when
compiling to ARM, but not to android, due
r9427aa2d543b

llvm-svn: 368301
This commit is contained in:
Diogo N. Sampaio 2019-08-08 14:45:42 +00:00
parent cd44aee3da
commit dd591977e0
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ extern int e2[__alignof(struct as1) == 8 ? 1 : -1];
struct __attribute__((aligned)) as1_2 {
char c;
};
#ifdef __s390x__
#if ( defined(__s390x__) || ( defined (__ARM_32BIT_STATE) && ! defined(__ANDROID__) ) )
extern int e1_2[sizeof(struct as1_2) == 8 ? 1 : -1];
extern int e2_2[__alignof(struct as1_2) == 8 ? 1 : -1];
#else