diff --git a/clang/test/Sema/struct-packed-align.c b/clang/test/Sema/struct-packed-align.c index aeba8d6fd938..91c7ce39cc25 100644 --- a/clang/test/Sema/struct-packed-align.c +++ b/clang/test/Sema/struct-packed-align.c @@ -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