summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/invoke.fail.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2015-07-17 22:27:43 +0000
committerEric Fiselier <eric@efcs.ca>2015-07-17 22:27:43 +0000
commit88558e22b0bc3d6a8d636c3fac727c774eeca23e (patch)
tree880f13ee6646d8b117e0ad597100ccb86c0377d7 /libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/invoke.fail.cpp
parent9070f53079b72b0a64a8ad0a2623f97b93cda620 (diff)
downloadbcm5719-llvm-88558e22b0bc3d6a8d636c3fac727c774eeca23e.tar.gz
bcm5719-llvm-88558e22b0bc3d6a8d636c3fac727c774eeca23e.zip
Cleanup tests that fail in C++1z and with Clang 3.8
llvm-svn: 242581
Diffstat (limited to 'libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/invoke.fail.cpp')
-rw-r--r--libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/invoke.fail.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/invoke.fail.cpp b/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/invoke.fail.cpp
index 6dcd2857452..61eda7244d3 100644
--- a/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/invoke.fail.cpp
+++ b/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/invoke.fail.cpp
@@ -30,13 +30,13 @@ test_int_1()
{
// member data pointer
{
- int A_int_1::*fp = &A_int_1::data_;
- A_int_1 a;
- std::function<int& (const A_int_1*)> r2(fp);
- const A_int_1* ap = &a;
- assert(r2(ap) == 6);
- r2(ap) = 7;
- assert(r2(ap) == 7);
+ int A_int_1::*fp = &A_int_1::data_;
+ A_int_1 a;
+ std::function<int& (const A_int_1*)> r2(fp);
+ const A_int_1* ap = &a;
+ assert(r2(ap) == 6);
+ r2(ap) = 7;
+ assert(r2(ap) == 7);
}
}
OpenPOWER on IntegriCloud