1 // PR c++/57827 2 // { dg-do compile { target c++11 } } 3 4 struct C 5 { funC6 constexpr int fun (int x) 7 { 8 return x + 1; 9 } 10 11 int a = 2; 12 int b = fun(a); 13 }; 14 15 C c; 16