summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.fail.cpp
blob: efee5064cf59c5d3fc7cbf1b7cc290927a85a52a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//===----------------------------------------------------------------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: c++98, c++03

// type_traits

// aligned_union<size_t Len, class ...Types>

#include <type_traits>

class A; // Incomplete

int main()
{
    typedef std::aligned_union<10, A>::type T1;
}
OpenPOWER on IntegriCloud