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