From cfeac66f8cfbc3ee9ef84f8bc19bf58805ee9486 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Mon, 17 Nov 2014 16:34:44 +0000 Subject: [PATCH] Fix a warning in the test; no functionality change git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@222143 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../meta.unary.prop/__has_operator_addressof.pass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/utilities/meta/meta.unary/meta.unary.prop/__has_operator_addressof.pass.cpp b/test/utilities/meta/meta.unary/meta.unary.prop/__has_operator_addressof.pass.cpp index 201f07228..1c715e049 100644 --- a/test/utilities/meta/meta.unary/meta.unary.prop/__has_operator_addressof.pass.cpp +++ b/test/utilities/meta/meta.unary/meta.unary.prop/__has_operator_addressof.pass.cpp @@ -51,7 +51,7 @@ constexpr H* operator&(H const &&) { return nullptr; } struct J { - constexpr J* operator&() &&; + constexpr J* operator&() const &&; }; #endif // _LIBCPP_HAS_NO_CONSTEXPR