Skip to content

Commit 530ee19

Browse files
committed
Fix bind_front.nttp.verify.cpp test
1 parent c3bc1be commit 530ee19

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libcxx/test/std/utilities/function.objects/func.bind.partial/bind_front.nttp.verify.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ void test() {
5454
struct X {};
5555

5656
auto _ = std::bind_front<static_cast<void (*)()>(nullptr)>();
57-
// expected-error@*:* {{static assertion failed due to requirement 'nullptr != nullptr': f cannot be equal to nullptr}}
57+
// expected-error@*:* {{static assertion failed due to requirement 'nullptr != nullptr': bind_front: f cannot be equal to nullptr}}
5858

5959
auto _ = std::bind_front<static_cast<int X::*>(nullptr)>();
60-
// expected-error@*:* {{static assertion failed due to requirement 'nullptr != nullptr': f cannot be equal to nullptr}}
60+
// expected-error@*:* {{static assertion failed due to requirement 'nullptr != nullptr': bind_front: f cannot be equal to nullptr}}
6161

6262
auto _ = std::bind_front<static_cast<void (X::*)()>(nullptr)>();
63-
// expected-error@*:* {{static assertion failed due to requirement 'nullptr != nullptr': f cannot be equal to nullptr}}
63+
// expected-error@*:* {{static assertion failed due to requirement 'nullptr != nullptr': bind_front: f cannot be equal to nullptr}}
6464
}
6565
}

0 commit comments

Comments
 (0)