Skip to content

Commit 3f8a0ec

Browse files
committed
[libcxx] Fix the broken test after D82657.
Differential Revision: https://reviews.llvm.org/D86685
1 parent c5e6872 commit 3f8a0ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libcxx/test/libcxx/utilities/memory/util.smartptr/util.smartptr.shared/function_type_default_deleter.fail.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ int main(int, char**) {
3737
SPtr<3> s3(nullptr, Deleter{}); // OK
3838
}
3939
// expected-error-re@memory:* 2 {{static_assert failed{{.*}} "default_delete cannot be instantiated for function types"}}
40+
// FIXME: suppress this bogus diagnostic, see https://reviews.llvm.org/D86685.
41+
// expected-error@memory:* 0+ {{no member named 'value' in}}
4042
{
4143
SPtr<4> s4(getFn<4>()); // expected-note {{requested here}}
4244
SPtr<5> s5(getFn<5>(), std::default_delete<FnType<5>>{}); // expected-note {{requested here}}

0 commit comments

Comments
 (0)