1 // { dg-do compile { target c++14 } }
2 
3 struct S { int a; const char* b; int c; int d = b[a]; };
4 
f(const S & s)5 constexpr int f(const S& s) { return s.a; }
6 
main()7 int main()
8 {
9   constexpr int i = f(S{ 1, "asdf" });
10 }
11