1 2 3 4 5
// { dg-options -std=c++0x } constexpr char c1 = "hi"[1]; constexpr char c2 = "hi"[2]; constexpr char c3 = "hi"[3]; // { dg-error "out of bound" }