Fix error handling in filesystem::is_empty
authorJonathan Wakely <jwakely@redhat.com>
Mon, 24 Oct 2016 16:45:55 +0000 (17:45 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 24 Oct 2016 16:45:55 +0000 (17:45 +0100)
commit94caf86019219030154f76b786f9de08c2b81275
tree512d1099877f7738338a4b5227574b47cfa24b7e
parent6daff2d946a2a656b5796e00d6ad65660315d565
Fix error handling in filesystem::is_empty

* src/filesystem/ops.cc (is_empty): Fix error handling.
* testsuite/experimental/filesystem/operations/is_empty.cc: New test.

From-SVN: r241488
libstdc++-v3/ChangeLog
libstdc++-v3/src/filesystem/ops.cc