You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.fail.cpp

24 lines
560 B
C++

//===----------------------------------------------------------------------===//
//
// 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;
}