1 // { dg-do assemble  }
2 // GROUPS passed parsing
3 // parsing folder
4 // From: Eirik Fuller <eirik@elf.ithaca.ny.us>
5 // Date:     Wed, 15 Dec 1993 17:06:11 -0500
6 // Subject:  parse error
7 // Message-ID: <199312152206.AA06584@tonttu.TC.Cornell.EDU>
8 
9 
10 class s;
11 
12 template <class T>
13 class t
14 {
15 public:
16   void f(T *t);
17 };
18 
19 class l
20 {
21 public:
s()22   void s() {}
23 };
24 
25 extern t<l> g;
26 
27 class p
28 {
29 public:
30   void *h;
a()31   s *a() {return (s *) h;}
32 };
33