1 // { dg-do compile { target c++11 } }
2 
3 struct A { int i; };
f2(const A & a)4 constexpr A f2 (const A& a) { return a; }
f1(const A & a)5 constexpr int f1 (const A &a) { return f2(a).i; }
g(const A & a)6 A g(const A &a)
7 {
8   return { f1(a) };
9 }
10