repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Small ChangeLog tweak.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.law
/
parsing10.C
blob
8dcb74fa64f924feb025244909ee7c994600f69b
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:
22
void s() {}
23
};
24
25
extern t<l> g;
26
27
class p
28
{
29
public:
30
void *h;
31
s *a() {return (s *) h;}
32
};