diff --git a/clang/test/Sema/test-wunaligned-access.c b/clang/test/Sema/test-wunaligned-access.c --- a/clang/test/Sema/test-wunaligned-access.c +++ b/clang/test/Sema/test-wunaligned-access.c @@ -2,6 +2,7 @@ // RUN: rm -f %S/test-wunaligned-access.ll // RUN: %clang_cc1 %s -triple=armv7-none-none-eabi -verify -Wunaligned-access -S -emit-llvm -o %t +// RUN: %clang_cc1 %s -triple=armv8-none-none-eabi -verify -Wunaligned-access -S -emit-llvm -o %t // REQUIRES: arm-registered-target // // This test suite tests the warning triggered by the -Wunaligned-access option. diff --git a/clang/test/Sema/test-wunaligned-access.cpp b/clang/test/Sema/test-wunaligned-access.cpp --- a/clang/test/Sema/test-wunaligned-access.cpp +++ b/clang/test/Sema/test-wunaligned-access.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -triple=armv7-none-none-eabi -verify -Wunaligned-access -S -emit-llvm -o %t +// RUN: %clang_cc1 %s -triple=armv8-none-none-eabi -verify -Wunaligned-access -S -emit-llvm -o %t // REQUIRES: arm-registered-target // // This test suite tests the warning triggered by the -Wunaligned-access option. @@ -271,4 +272,4 @@ struct U21 s21; struct U22 s22; struct U23 s23; -struct U24 s24; \ No newline at end of file +struct U24 s24;