commit | ef089063140d918a8ad77e3dc8120de6d3896d8d | [log] [tgz] |
---|---|---|
author | Marshall Clow <mclow.lists@gmail.com> | Wed Apr 24 15:33:55 2019 +0000 |
committer | Marshall Clow <mclow.lists@gmail.com> | Wed Apr 24 15:33:55 2019 +0000 |
tree | 226430c16f14d5252e94fe8769276cd58e60d730 | |
parent | 96f8d208d8de8e8cca6a23d8b74608d51c7d837d [diff] |
Make the test object callable. libstdc++'s bind checks that (libc++ currently does not). Thanks to Jonathan Wakely for the fix. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@359108 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/std/utilities/function.objects/bind/func.bind/func.bind.isbind/is_bind_expression.pass.cpp b/test/std/utilities/function.objects/bind/func.bind/func.bind.isbind/is_bind_expression.pass.cpp index 8314dbe..d12aece 100644 --- a/test/std/utilities/function.objects/bind/func.bind/func.bind.isbind/is_bind_expression.pass.cpp +++ b/test/std/utilities/function.objects/bind/func.bind/func.bind.isbind/is_bind_expression.pass.cpp
@@ -25,7 +25,7 @@ #endif } -struct C {}; +struct C {int operator()(...) const { return 0; }}; int main(int, char**) {