From 310d3b975fd07bba9ac45fb1f05f6c951cb16ad7 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Tue, 21 Jun 2016 22:11:16 +0000 Subject: Implement LWG issue 2725. The issue should move this meeting llvm-svn: 273325 --- .../experimental/filesystem/fs.op.funcs/fs.op.exists/exists.pass.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libcxx/test/std/experimental/filesystem/fs.op.funcs') diff --git a/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.exists/exists.pass.cpp b/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.exists/exists.pass.cpp index 460b8be6b12..252ced6fd65 100644 --- a/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.exists/exists.pass.cpp +++ b/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.exists/exists.pass.cpp @@ -65,6 +65,10 @@ TEST_CASE(test_exist_not_found) { const path p = StaticEnv::DNE; TEST_CHECK(exists(p) == false); + + std::error_code ec = GetTestEC(); + TEST_CHECK(exists(p, ec) == false); + TEST_CHECK(!ec); } TEST_CASE(test_exists_fails) -- cgit v1.2.3