URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.law/] [parsing10.C] - Rev 154
Compare with Previous | Blame | View Log
// { 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;};
};