diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2019-04-24 15:33:55 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2019-04-24 15:33:55 +0000 |
commit | bce10f159c3af03de03a3959a626eba454ce6eb8 (patch) | |
tree | 2bd78534c1419caacfe650297e0cf7627e669521 /libcxx/test/std/utilities/function.objects/bind | |
parent | f09e55cf1b4ccd4ff5521dbe7332833cb449e56d (diff) | |
download | bcm5719-llvm-bce10f159c3af03de03a3959a626eba454ce6eb8.tar.gz bcm5719-llvm-bce10f159c3af03de03a3959a626eba454ce6eb8.zip |
Make the test object callable. libstdc++'s bind checks that (libc++ currently does not). Thanks to Jonathan Wakely for the fix.
llvm-svn: 359108
Diffstat (limited to 'libcxx/test/std/utilities/function.objects/bind')
-rw-r--r-- | libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.isbind/is_bind_expression.pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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**) { |