1 // { dg-do compile { target c++11 } } 2 3 struct [[gnu::packed]] A 4 { 5 void f () const; 6 }; 7 8 void f()9 A::f () const 10 { 11 } 12