From 47b5e0968aa0ec47f522ba357c159b2450645806 Mon Sep 17 00:00:00 2001 From: Josh Haberman Date: Wed, 2 Jul 2014 15:41:10 -0700 Subject: Sync from internal Google development. --- tests/test_cpp.cc | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'tests/test_cpp.cc') diff --git a/tests/test_cpp.cc b/tests/test_cpp.cc index fe0695f..370c7b0 100644 --- a/tests/test_cpp.cc +++ b/tests/test_cpp.cc @@ -1129,21 +1129,6 @@ int run_tests(int argc, char *argv[]) { TestHandlerDataDestruction(); -#ifdef UPB_CXX11 -#define ASSERT_STD_LAYOUT(type) \ - static_assert(std::is_standard_layout::value, \ - #type " must be standard layout"); - ASSERT_STD_LAYOUT(upb::RefCounted); - ASSERT_STD_LAYOUT(upb::Def); - ASSERT_STD_LAYOUT(upb::MessageDef); - ASSERT_STD_LAYOUT(upb::FieldDef); - ASSERT_STD_LAYOUT(upb::EnumDef); - ASSERT_STD_LAYOUT(upb::Handlers); - ASSERT_STD_LAYOUT(upb::SymbolTable); - ASSERT_STD_LAYOUT(upb::pb::Decoder); - ASSERT_STD_LAYOUT(upb::descriptor::Reader); -#endif - return 0; } -- cgit v1.2.3