1 // PR c++/79796 2 // { dg-do compile { target c++11 } } 3 4 struct A 5 { 6 A* p = this; 7 }; 8 foo()9 void foo() 10 { 11 A a; 12 a = A({}); 13 } 14