| //===----------------------------------------------------------------------===// |
| // The LLVM Compiler Infrastructure |
| // This file is dual licensed under the MIT and the University of Illinois Open |
| // Source Licenses. See LICENSE.TXT for details. |
| //===----------------------------------------------------------------------===// |
| // UNSUPPORTED: c++98, c++03 |
| // <experimental/filesystem> |
| #include <experimental/filesystem> |
| #include "test_iterators.h" |
| #include "filesystem_test_helper.hpp" |
| namespace fs = std::experimental::filesystem; |
| const path p("/foo/bar/baz"); |
| ASSERT_NOEXCEPT(p.clear()); |
| ASSERT_SAME_TYPE(void, decltype(p.clear())); |