1// 981203 bkoz
2// g++/13478
3// Build don't link:
4
5class A {};
6class AData {};
7
8typedef void (A::* hand) (void);
9
10struct hand_table {
11  const int data1;
12  const hand data2;
13};
14
15class Agent : public A {
16public:
17  enum { first = 1, last };
18protected:
19  static const hand_table table_1[];
20  static const AData 	  table_2;
21private:
22  void foo (void);                  // ERROR - candidate
23};
24
25const hand_table Agent::table_1[] =
26{
27   {0,     &Agent::table_2},
28   {first, &Agent::foo},
29   {last,  &(hand)Agent::foo} // ERROR - no match
30}; // ERROR - cannot convert
31
32
33
34
35
36
37