1 // { dg-do run { target c++11 } } 2 3 struct A 4 { 5 int i = 42; 6 int j = f(); 7 int k = this->f(); fA8 int f() { return i++; } 9 }; 10 11 A a; 12 main()13 int main() 14 { 15 if (a.j != 42 || a.k != 43 || a.i != 44) 16 __builtin_abort(); 17 } 18