2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / pmem.C
blob90c61226352964746f8f2130a7dd28d39f8729bc
1 // { dg-do assemble  }
2 // Bug: g++ parses the declaration of 'char A::* foo' below as a
3 // declaration of 'char A'.
5 class A { };
6 typedef int foo;
7 void f ()
9   char A::* foo;
10   foo = 0;                      // { dg-bogus "" } parsing blunder