summaryrefslogtreecommitdiff
path: root/tests/test_cpp.cc
diff options
context:
space:
mode:
authorJosh Haberman <jhaberman@gmail.com>2014-07-02 15:41:10 -0700
committerJosh Haberman <jhaberman@gmail.com>2014-07-02 15:41:10 -0700
commit47b5e0968aa0ec47f522ba357c159b2450645806 (patch)
treed8cd2e7d518b1d6572a6002843446c9e6ee8ef89 /tests/test_cpp.cc
parent2d10fa33071d52d7a35ce3b13bc459cd16a0aa33 (diff)
Sync from internal Google development.
Diffstat (limited to 'tests/test_cpp.cc')
-rw-r--r--tests/test_cpp.cc15
1 files changed, 0 insertions, 15 deletions
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<type>::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;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback