1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
// { dg-do assemble } // Origin: Rick Campbell <rick.campbell@db.com> template <class Owner, typename Type> struct DataMember { inline DataMember (Type Owner::* data_member); Type Owner::* _data_member; }; template <class Owner, typename Type> inline DataMember<Owner,Type>::DataMember (Type Owner::* data_member) : _data_member (data_member) { }