2 // { dg-do compile { target c++11 } }
4 constexpr wchar_t c1 = L"hi"[3]; // { dg-error "array subscript" }
5 constexpr char16_t c2 = u"hi"[3]; // { dg-error "array subscript" }
6 constexpr char32_t c3 = U"hi"[3]; // { dg-error "array subscript" }
7 constexpr char c4 = u8"hi"[3]; // { dg-error "array subscript" }