From bce10f159c3af03de03a3959a626eba454ce6eb8 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Wed, 24 Apr 2019 15:33:55 +0000 Subject: Make the test object callable. libstdc++'s bind checks that (libc++ currently does not). Thanks to Jonathan Wakely for the fix. llvm-svn: 359108 --- .../bind/func.bind/func.bind.isbind/is_bind_expression.pass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcxx/test/std') diff --git a/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.isbind/is_bind_expression.pass.cpp b/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.isbind/is_bind_expression.pass.cpp index 8314dbe1e8e..d12aecebbfc 100644 --- a/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.isbind/is_bind_expression.pass.cpp +++ b/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.isbind/is_bind_expression.pass.cpp @@ -25,7 +25,7 @@ test(const T&) #endif } -struct C {}; +struct C {int operator()(...) const { return 0; }}; int main(int, char**) { -- cgit v1.2.3