From 5750a3fa20614580c7c726817b87022f5c5ac18a Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Fri, 12 May 2017 01:44:51 +0000 Subject: Fix or move tests with non-standard assumptions llvm-svn: 302862 --- .../tuple/tuple.tuple/empty_member.pass.cpp | 46 ---------------------- 1 file changed, 46 deletions(-) delete mode 100644 libcxx/test/std/utilities/tuple/tuple.tuple/empty_member.pass.cpp (limited to 'libcxx/test/std/utilities/tuple') diff --git a/libcxx/test/std/utilities/tuple/tuple.tuple/empty_member.pass.cpp b/libcxx/test/std/utilities/tuple/tuple.tuple/empty_member.pass.cpp deleted file mode 100644 index 1e7243b5f50..00000000000 --- a/libcxx/test/std/utilities/tuple/tuple.tuple/empty_member.pass.cpp +++ /dev/null @@ -1,46 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// - -// template class tuple; - -// UNSUPPORTED: c++98, c++03 - -// This is not a portable test - -#include - -struct A {}; - -struct B {}; - -int main() -{ - { - typedef std::tuple T; - static_assert((sizeof(T) == sizeof(int)), ""); - } - { - typedef std::tuple T; - static_assert((sizeof(T) == sizeof(int)), ""); - } - { - typedef std::tuple T; - static_assert((sizeof(T) == sizeof(int)), ""); - } - { - typedef std::tuple T; - static_assert((sizeof(T) == sizeof(int)), ""); - } - { - typedef std::tuple T; - static_assert((sizeof(T) == sizeof(int)), ""); - } -} -- cgit v1.2.3