blob: acdf29110638d387539d3ac8bb0038edeaaeb0ae [file] [log] [blame]
/* { dg-do compile } */
class GenericClass;
struct AlsaDriver
{
virtual int _read (unsigned nframes);
};
typedef void (GenericClass::*GenericMemFuncType) ();
GenericMemFuncType m_pFunction;
void AlsaDriver1 ()
{
m_pFunction = reinterpret_cast < GenericMemFuncType > (&AlsaDriver::_read);
}