diff options
Diffstat (limited to 'absl/types')
-rw-r--r-- | absl/types/span_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/types/span_test.cc b/absl/types/span_test.cc index 5a4f0014af38..fbce7e874798 100644 --- a/absl/types/span_test.cc +++ b/absl/types/span_test.cc @@ -288,7 +288,7 @@ TEST(IntSpan, Subspan) { #ifdef ABSL_HAVE_EXCEPTIONS EXPECT_THROW(absl::MakeSpan(ramp).subspan(11, 5), std::out_of_range); #else - EXPECT_DEATH(absl::MakeSpan(ramp).subspan(11, 5), ""); + EXPECT_DEATH_IF_SUPPORTED(absl::MakeSpan(ramp).subspan(11, 5), ""); #endif } |