Skip to content

Commit b6f90c9

Browse files
committed
Fix ASAN/TSAN/UBSAN/MSAN CI
1 parent 8029264 commit b6f90c9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libcxx/test/std/utilities/function.objects/func.not_fn/not_fn.nttp.pass.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ struct MaybeNoexceptNegation {
5353
};
5454

5555
template <bool IsNoexcept>
56-
MaybeNoexceptNegation<IsNoexcept> maybe_noexcept_negation() noexcept; // not defined
56+
MaybeNoexceptNegation<IsNoexcept> maybe_noexcept_negation() noexcept {
57+
return {};
58+
}
5759

5860
constexpr void basic_tests() {
5961
{ // Test constant functions

0 commit comments

Comments
 (0)