libstdc++-v3/testsuite/experimental/feat-char8_t.cc
raw| 1 | // { dg-do preprocess { target c++11 } } |
| 2 | // { dg-options "-fchar8_t" } |
| 3 | // { dg-add-options no_pch } |
| 4 | |
| 5 | #include <atomic> |
| 6 | #include <filesystem> |
| 7 | #include <istream> |
| 8 | #include <limits> |
| 9 | #include <locale> |
| 10 | #include <ostream> |
| 11 | #include <string> |
| 12 | #include <string_view> |
| 13 | |
| 14 | #ifndef __cpp_lib_char8_t |
| 15 | # error "__cpp_lib_char8_t" |
| 16 | #elif __cpp_lib_char8_t != 201907L |
| 17 | # error "__cpp_lib_char8_t != 201907L" |
| 18 | #endif |