diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-03-06 21:02:06 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-03-06 21:02:06 +0000 |
commit | bc9cbcedc16687e66a24ac5a36f6a1763d79e92f (patch) | |
tree | 50349e668c917154edc847b03e0c36467601f341 /libcxx/test/std/experimental/filesystem | |
parent | 1e254c5295502526362efa1757359fdfaf92495d (diff) | |
download | bcm5719-llvm-bc9cbcedc16687e66a24ac5a36f6a1763d79e92f.tar.gz bcm5719-llvm-bc9cbcedc16687e66a24ac5a36f6a1763d79e92f.zip |
Implement LWG 2787 - [file_status.cons] is inconsistent
llvm-svn: 297071
Diffstat (limited to 'libcxx/test/std/experimental/filesystem')
-rw-r--r-- | libcxx/test/std/experimental/filesystem/class.file_status/file_status.cons.pass.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/std/experimental/filesystem/class.file_status/file_status.cons.pass.cpp b/libcxx/test/std/experimental/filesystem/class.file_status/file_status.cons.pass.cpp index 585b0bb1dd5..a744e659f5b 100644 --- a/libcxx/test/std/experimental/filesystem/class.file_status/file_status.cons.pass.cpp +++ b/libcxx/test/std/experimental/filesystem/class.file_status/file_status.cons.pass.cpp @@ -30,8 +30,8 @@ int main() { { static_assert(std::is_nothrow_default_constructible<file_status>::value, "The default constructor must be noexcept"); - static_assert(!test_convertible<file_status>(), - "The default constructor must be explicit"); + static_assert(test_convertible<file_status>(), + "The default constructor must not be explicit"); const file_status f; assert(f.type() == file_type::none); assert(f.permissions() == perms::unknown); |