| 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 | //===----------------------------------------------------------------------===// |
| 8 | |
| 9 | // UNSUPPORTED: c++03 |
| 10 | |
| 11 | // type_traits |
| 12 | |
| 13 | // aligned_union<size_t Len, class ...Types> |
| 14 | |
| 15 | #include <type_traits> |
| 16 | |
| 17 | class A; // Incomplete |
| 18 | |
| 19 | int main(int, char**) |
| 20 | { |
| 21 | typedef std::aligned_union<10, A>::type T1; |
| 22 | |
| 23 | return 0; |
| 24 | } |
| 25 | |