/* TAGS: c++ */ /* VERIFY_OPTS: -o nofail:malloc */ //===----------------------------------------------------------------------===// // // 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. // //===----------------------------------------------------------------------===// // // tuple_size >::value #include template void test() { { typedef std::array C; static_assert((std::tuple_size::value == N), ""); } { typedef std::array C; static_assert((std::tuple_size::value == N), ""); } { typedef std::array C; static_assert((std::tuple_size::value == N), ""); } { typedef std::array C; static_assert((std::tuple_size::value == N), ""); } } int main() { test(); test(); test(); }