aboutsummaryrefslogtreecommitdiff
path: root/test/std/experimental/filesystem/class.path/path.member/path.decompose/path.decompose.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/std/experimental/filesystem/class.path/path.member/path.decompose/path.decompose.pass.cpp')
-rw-r--r--test/std/experimental/filesystem/class.path/path.member/path.decompose/path.decompose.pass.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/std/experimental/filesystem/class.path/path.member/path.decompose/path.decompose.pass.cpp b/test/std/experimental/filesystem/class.path/path.member/path.decompose/path.decompose.pass.cpp
index 078e006663e9..267d4932c316 100644
--- a/test/std/experimental/filesystem/class.path/path.member/path.decompose/path.decompose.pass.cpp
+++ b/test/std/experimental/filesystem/class.path/path.member/path.decompose/path.decompose.pass.cpp
@@ -177,6 +177,7 @@ void decompFilenameTest()
for (auto const & TC : FilenameTestCases) {
path p(TC.raw);
assert(p == TC.raw);
+ ASSERT_NOEXCEPT(p.empty());
assert(p.filename() == TC.filename);
assert(p.has_filename() != TC.filename.empty());