diff --git a/clang/test/SemaCXX/vector-bool.cpp b/clang/test/SemaCXX/vector-bool.cpp --- a/clang/test/SemaCXX/vector-bool.cpp +++ b/clang/test/SemaCXX/vector-bool.cpp @@ -92,7 +92,11 @@ } void Sizeof() { - using FourBools = bool __attribute__((ext_vector_type(8))); + using FourBools = bool __attribute__((ext_vector_type(4))); + using NineBools = bool __attribute__((ext_vector_type(9))); + using ABunchOfBools = bool __attribute__((ext_vector_type(28))); static_assert(sizeof(FourBools) == 1); static_assert(sizeof(EightBools) == 1); + static_assert(sizeof(NineBools) == 2); + static_assert(sizeof(ABunchOfBools) == 4); }