2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / crash32.C
blobb9c4cf98c0652301f31da8e851dcec22f069b33e
1 // { dg-do assemble }
2 // Origin: Jakub Jelinek <jakub@redhat.com>
4 struct foo
6   enum e
7   {
8     not                         // { dg-error "" } 
9   }; // { dg-bogus "" } 
10   ~foo(); // { dg-bogus "" "" { xfail *-*-* } } 
11   void x (foo *&a, bool b = (unsigned char)0);
12 }; // { dg-bogus "" "" { xfail *-*-* } } 
14 namespace N
16   struct bar;
18   template<class T>
19   struct baz
20   {
21     baz(T *p);
22   };
24   typedef baz<bar> c;
28   int a;