libcxx

libcxx mirror with random patches
git clone https://git.neptards.moe/neptards/libcxx.git
Log | Files | Refs

namespace.pass.cpp (642B)


      1 //===----------------------------------------------------------------------===//
      2 //
      3 //                     The LLVM Compiler Infrastructure
      4 //
      5 // This file is dual licensed under the MIT and the University of Illinois Open
      6 // Source Licenses. See LICENSE.TXT for details.
      7 //
      8 //===----------------------------------------------------------------------===//
      9 
     10 // UNSUPPORTED: c++98, c++03, c++11, c++14
     11 
     12 // <filesystem>
     13 
     14 // namespace std::filesystem
     15 
     16 #include <filesystem>
     17 #include <type_traits>
     18 
     19 using namespace std::filesystem;
     20 
     21 int main() {
     22   static_assert(std::is_same<
     23           path,
     24           std::filesystem::path
     25       >::value, "");
     26 }