[libcxx] r284945 - Fix libc++ specific assertion in permissions(...) tests
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 23 12:14:59 PDT 2016
Author: ericwf
Date: Sun Oct 23 14:14:58 2016
New Revision: 284945
URL: http://llvm.org/viewvc/llvm-project?rev=284945&view=rev
Log:
Fix libc++ specific assertion in permissions(...) tests
Modified:
libcxx/trunk/test/std/experimental/filesystem/fs.op.funcs/fs.op.permissions/permissions.pass.cpp
Modified: libcxx/trunk/test/std/experimental/filesystem/fs.op.funcs/fs.op.permissions/permissions.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/filesystem/fs.op.funcs/fs.op.permissions/permissions.pass.cpp?rev=284945&r1=284944&r2=284945&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/filesystem/fs.op.funcs/fs.op.permissions/permissions.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/filesystem/fs.op.funcs/fs.op.permissions/permissions.pass.cpp Sun Oct 23 14:14:58 2016
@@ -35,7 +35,8 @@ TEST_CASE(test_signatures)
std::error_code ec; ((void)ec);
ASSERT_NOT_NOEXCEPT(fs::permissions(p, opts));
// Not noexcept because of narrow contract
- ASSERT_NOT_NOEXCEPT(fs::permissions(p, opts, ec));
+ LIBCPP_ONLY(
+ ASSERT_NOT_NOEXCEPT(fs::permissions(p, opts, ec)));
}
TEST_CASE(test_error_reporting)
More information about the cfe-commits
mailing list