diff options
Diffstat (limited to 'absl/types')
-rw-r--r-- | absl/types/optional_test.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/absl/types/optional_test.cc b/absl/types/optional_test.cc index 221c314593ad..e6a36eb8e26f 100644 --- a/absl/types/optional_test.cc +++ b/absl/types/optional_test.cc @@ -1628,6 +1628,7 @@ TEST(optionalTest, AssignmentConstraints) { EXPECT_TRUE(absl::is_copy_assignable<absl::optional<AnyLike>>::value); } +#if !defined(__EMSCRIPTEN__) struct NestedClassBug { struct Inner { bool dummy = false; @@ -1650,5 +1651,6 @@ TEST(optionalTest, InPlaceTSFINAEBug) { o.emplace(); EXPECT_TRUE(o.has_value()); } +#endif // !defined(__EMSCRIPTEN__) } // namespace |