summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/21_strings/basic_string/cons/char/105995.cc
blob: 4764ceff72a284262903ef532452eebfeb6715cb (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-options "-std=gnu++20" }
// { dg-do compile { target c++20 } }
// { dg-require-effective-target cxx11_abi }

#include <string>

// PR libstdc++/105995
// Not required by the standard, but supported for QoI.
constexpr std::string pr105995_empty;
constexpr std::string pr105995_partial = "0";
constexpr std::string pr105995_full = "0123456789abcde";