OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [template1.C] - Blame information for rev 305

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 305 jeremybenn
// { dg-do assemble  }
2
// PRMS Id: 4688
3
// Bug: g++ can't deal with templates instantiated within extern "C".
4
 
5
class Gnaf {
6
public:
7
   virtual int invariant ();
8
};
9
 
10
template  class Array : public Gnaf {
11
public:
12
   virtual int invariant();
13
};
14
 
15
extern "C"
16
int foo()
17
{
18
   Array toConv;
19
   return 0;
20
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.