Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / libcxx / test / std / utilities / meta / meta.trans / meta.trans.other / aligned_union.compile.fail.cpp
blob0e785d64c23361844654dbd59407506c25d64a6f
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-exception
6 //
7 //===----------------------------------------------------------------------===//
9 // UNSUPPORTED: c++03
11 // type_traits
13 // aligned_union<size_t Len, class ...Types>
15 #include <type_traits>
17 class A; // Incomplete
19 int main(int, char**)
21 typedef std::aligned_union<10, A>::type T1;
23 return 0;