summaryrefslogtreecommitdiff
path: root/test/std/input.output/filesystems/fs.req.namespace/namespace.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/std/input.output/filesystems/fs.req.namespace/namespace.pass.cpp')
-rw-r--r--test/std/input.output/filesystems/fs.req.namespace/namespace.pass.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/std/input.output/filesystems/fs.req.namespace/namespace.pass.cpp b/test/std/input.output/filesystems/fs.req.namespace/namespace.pass.cpp
new file mode 100644
index 0000000000000..557de3488a728
--- /dev/null
+++ b/test/std/input.output/filesystems/fs.req.namespace/namespace.pass.cpp
@@ -0,0 +1,26 @@
+//===----------------------------------------------------------------------===//
+//
+// 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, c++11, c++14
+
+// <filesystem>
+
+// namespace std::filesystem
+
+#include <filesystem>
+#include <type_traits>
+
+using namespace std::filesystem;
+
+int main() {
+ static_assert(std::is_same<
+ path,
+ std::filesystem::path
+ >::value, "");
+}