aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/pmf5.C
blob: c27bec10f9ee357c63023fb5874419903080230b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// PRMS Id: 4985
// Build don't link:
// Special g++ Options:

struct Thing {
        int OverloadFn() const;
        void FunctionA(char* restOfLine);
        void OverloadFn(char* restOfLine);
};

struct ThingEntry {
        void (Thing::*_handler)(char* restOfLine);
};

static ThingEntry KeyWordTable[] = {
        &Thing::FunctionA,
        Thing::OverloadFn,
};				// WARNING - implicit &