libstdc++-v3/testsuite/27_io/basic_filebuf/native_handle/version.cc
raw| 1 | // { dg-do preprocess { target c++26 } } |
| 2 | // { dg-require-effective-target hosted } |
| 3 | // { dg-add-options no_pch } |
| 4 | |
| 5 | #include <version> |
| 6 | |
| 7 | #ifndef __cpp_lib_fstream_native_handle |
| 8 | # error "Feature-test macro for fstream_native_handle missing in <version>" |
| 9 | #elif __cpp_lib_fstream_native_handle != 202306L |
| 10 | # error "Feature-test macro for fstream_native_handle has wrong value in <version>" |
| 11 | #endif |