URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [crash47.C] - Rev 384
Compare with Previous | Blame | View Log
// { 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)
{
}