summaryrefslogtreecommitdiffstats
path: root/test/libcxx/utilities
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-12-23 23:37:52 +0000
committerEric Fiselier <eric@efcs.ca>2016-12-23 23:37:52 +0000
commit0e5ebbc77c3c2cfd7d835fcfe40fcb65df0c5598 (patch)
treedad8e421b9e358a097b013e37f7a5baf68b7192d /test/libcxx/utilities
parent17a98d8a9209167c58e35188a295f759d190e895 (diff)
downloadexternal_libcxx-0e5ebbc77c3c2cfd7d835fcfe40fcb65df0c5598.tar.gz
external_libcxx-0e5ebbc77c3c2cfd7d835fcfe40fcb65df0c5598.tar.bz2
external_libcxx-0e5ebbc77c3c2cfd7d835fcfe40fcb65df0c5598.zip
Fix unused parameters and variables
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@290459 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/libcxx/utilities')
-rw-r--r--test/libcxx/utilities/function.objects/func.require/bullet_1_2_3.pass.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/libcxx/utilities/function.objects/func.require/bullet_1_2_3.pass.cpp b/test/libcxx/utilities/function.objects/func.require/bullet_1_2_3.pass.cpp
index 509c751b4..7fb1568c0 100644
--- a/test/libcxx/utilities/function.objects/func.require/bullet_1_2_3.pass.cpp
+++ b/test/libcxx/utilities/function.objects/func.require/bullet_1_2_3.pass.cpp
@@ -266,6 +266,7 @@ void test_derived_from_ref_wrap() {
auto& ret2 = std::__invoke(get_fn, d);
auto& cret2 = std::__invoke_constexpr(get_fn, d);
assert(&ret2 == &x);
+ assert(&cret2 == &x);
auto& ret3 = std::__invoke(get_fn, r2);
assert(&ret3 == &x);
}
@@ -367,4 +368,4 @@ int main() {
test_derived_from_ref_wrap();
#endif
-} \ No newline at end of file
+}