aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/net23.C
blob: 2fe7d4c8c01f2e0f833faf6d8e47fbba5283501b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Build don't link:

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

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

void myfoo(INT_FUNCP a);

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