commit | bce10f159c3af03de03a3959a626eba454ce6eb8 | [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 | 2bd78534c1419caacfe650297e0cf7627e669521 | |
parent | f09e55cf1b4ccd4ff5521dbe7332833cb449e56d [diff] |
Make the test object callable. libstdc++'s bind checks that (libc++ currently does not). Thanks to Jonathan Wakely for the fix. llvm-svn: 359108
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 8314dbe..d12aece 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 @@ #endif } -struct C {}; +struct C {int operator()(...) const { return 0; }}; int main(int, char**) {