OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.robertl/] [eb19.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
 
3
#define CRASH 1
4
#ifdef CRASH
5
#define VIRTUAL virtual
6
#else
7
#define VIRTUAL
8
#endif
9
 
10
class A {};
11
class B : public VIRTUAL A {};
12
template  class C : public /*virtual*/ Imp {};
13
// define CRASH and uncomment here    ^^^^^^^^^^^
14
// and the crash goes away!!!!
15
 
16
template class C;

powered by: WebSVN 2.1.0

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