• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 // <experimental/filesystem>
11 
12 // #define __cpp_lib_experimental_filesystem 201406L
13 
14 #include <experimental/filesystem>
15 #include "test_macros.h"
16 
17 #if TEST_STD_VER >= 11
18 #ifndef __cpp_lib_experimental_filesystem
19 #error Filesystem feature test macro is not defined  (__cpp_lib_experimental_filesystem)
20 #elif __cpp_lib_experimental_filesystem != 201406L
21 #error Filesystem feature test macro has an incorrect value (__cpp_lib_experimental_filesystem)
22 #endif
23 #else // TEST_STD_VER < 11
24 #ifdef __cpp_lib_experimental_filesystem
25 #error Filesystem feature test macro should not be defined in c++03
26 #endif
27 #endif
28 
main()29 int main() { }
30