mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-16 15:04:46 +00:00
25 lines
211 B
C++
25 lines
211 B
C++
|
class S
|
||
|
{
|
||
|
int (&fnref0)(double);
|
||
|
// distinct kinds
|
||
|
int* &fnref1;
|
||
|
int &fnref2;
|
||
|
};
|
||
|
|
||
|
void foo(S& s)
|
||
|
{
|
||
|
}
|
||
|
typedef void(&callback)(int);
|
||
|
|
||
|
callback fn0(void)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
int(&fn1(void))(int)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
void fn2(callback c)
|
||
|
{
|
||
|
}
|