blob: 0f561a4360c385835a38c92095e482d8a70dde47 [file] [log] [blame]
// { dg-do compile { target c++11 } }
constexpr char c1 = "hi"[1];
constexpr char c2 = "hi"[2];
constexpr char c3 = "hi"[3]; // { dg-error "out of bound" }