summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/net23.C
blob: 97120ea9099083cf91f3d5e772aafe339ff446a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// { dg-do assemble  }

class environment {
public:
  int get_font() ;
};

typedef int (environment::*INT_FUNCP)();

void myfoo(INT_FUNCP a);

void init_env_requests()
{
  myfoo(&environment::get_font);
}