repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr37354.C
blob
acdf29110638d387539d3ac8bb0038edeaaeb0ae
1
/* { dg-do compile } */
2
3
class GenericClass;
4
struct AlsaDriver
5
{
6
virtual int _read (unsigned nframes);
7
};
8
typedef void (GenericClass::*GenericMemFuncType) ();
9
GenericMemFuncType m_pFunction;
10
void AlsaDriver1 ()
11
{
12
m_pFunction = reinterpret_cast < GenericMemFuncType > (&AlsaDriver::_read);
13
}
14