25 lines · cpp
1//===----------------------------------------------------------------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8 9// UNSUPPORTED: c++0310 11// type_traits12 13// aligned_union<size_t Len, class ...Types>14 15#include <type_traits>16 17class A; // Incomplete18 19int main(int, char**)20{21 typedef std::aligned_union<10, A>::type T1;22 23 return 0;24}25