1 // -*- C++ -*- 2 //===----------------------------------------------------------------------===// 3 // 4 // The LLVM Compiler Infrastructure 5 // 6 // This file is dual licensed under the MIT and the University of Illinois Open 7 // Source Licenses. See LICENSE.TXT for details. 8 // 9 //===----------------------------------------------------------------------===// 10 11 // The Itanium ABI requires that _Unwind_Exception objects are "double-word 12 // aligned". 13 14 #include <unwind.h> 15 16 struct MaxAligned {} __attribute__((aligned)); 17 static_assert(alignof(_Unwind_Exception) == alignof(MaxAligned), ""); 18 19 int main() 20 { 21 } 22