libstdc++-v3/testsuite/21_strings/basic_string/cons/char/105995.cc
raw| 1 | // { dg-do compile { target c++20 } } |
| 2 | // { dg-require-effective-target cxx11_abi } |
| 3 | |
| 4 | #include <string> |
| 5 | |
| 6 | // PR libstdc++/105995 |
| 7 | // Not required by the standard, but supported for QoI. |
| 8 | constexpr std::string pr105995_empty; |
| 9 | constexpr std::string pr105995_partial = "0"; |
| 10 | constexpr std::string pr105995_full = "0123456789abcde"; |