forked from OSchip/llvm-project
[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:
parent
cd44aee3da
commit
dd591977e0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue