summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/experimental/filesystem/class.path/path.member/path.native.obs/native.pass.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-12-03 00:27:13 +0000
committerEric Fiselier <eric@efcs.ca>2016-12-03 00:27:13 +0000
commit465bd0fc004592dc0eb6a2971c38fcb4f80445bc (patch)
treedc335364d7a6ae31c56d15511289e132cdcd2f0a /libcxx/test/std/experimental/filesystem/class.path/path.member/path.native.obs/native.pass.cpp
parentd7a50d1d6b097d5fbf64d7aaa4d76adede1a5106 (diff)
downloadbcm5719-llvm-465bd0fc004592dc0eb6a2971c38fcb4f80445bc.tar.gz
bcm5719-llvm-465bd0fc004592dc0eb6a2971c38fcb4f80445bc.zip
Enable warnings by default for C++ >= 11 and fix -Wshadow occurances
llvm-svn: 288557
Diffstat (limited to 'libcxx/test/std/experimental/filesystem/class.path/path.member/path.native.obs/native.pass.cpp')
-rw-r--r--libcxx/test/std/experimental/filesystem/class.path/path.member/path.native.obs/native.pass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/std/experimental/filesystem/class.path/path.member/path.native.obs/native.pass.cpp b/libcxx/test/std/experimental/filesystem/class.path/path.member/path.native.obs/native.pass.cpp
index 7f8df27faf0..db132648377 100644
--- a/libcxx/test/std/experimental/filesystem/class.path/path.member/path.native.obs/native.pass.cpp
+++ b/libcxx/test/std/experimental/filesystem/class.path/path.member/path.native.obs/native.pass.cpp
@@ -28,8 +28,8 @@ int main()
{
using namespace fs;
const char* const value = "hello world";
- path p(value);
{ // Check signature
+ path p(value);
ASSERT_SAME_TYPE(path::string_type const&, decltype(p.native()));
ASSERT_NOEXCEPT(p.native());
}
OpenPOWER on IntegriCloud