Clean up some minor white space issues in trans-decl.c and trans-expr.c
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.benjamin / 13478.C
blobe1d52e14b06580a420dae69b2c6e986c9a7716e1
1 // { dg-do assemble  }
2 // 981203 bkoz
3 // g++/13478
4   
5 class A {};
6 class AData {};
8 typedef void (A::* hand) (void);
10 struct hand_table {
11   const int data1;
12   const hand data2;
15 class Agent : public A {
16 public:
17   enum { first = 1, last };
18 protected:
19   static const hand_table table_1[];
20   static const AData      table_2;
21 private:
22   void foo (void);
25 const hand_table Agent::table_1[] = 
27    {0,     &Agent::table_2},
28    {first, &Agent::foo},
29    {last,  &(hand)Agent::foo} // { dg-error "" } no match