1// { dg-do assemble } 2// 981203 bkoz 3// g++/13478 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); 23}; 24 25const hand_table Agent::table_1[] = 26{ 27 {0, &Agent::table_2}, 28 {first, &Agent::foo}, 29 {last, &(hand)Agent::foo} // { dg-error "" } no match 30}; 31