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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.brendan/] [template19.C] - Blame information for rev 699

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 699 jeremybenn
// { dg-do assemble  }
2
// GROUPS passed templates
3
template 
4
class Base
5
{
6
public:
7
    Base() { }
8
};
9
 
10
template 
11
class Middle : public Base
12
{
13
public:
14
    Middle (keyType const & (*ko) (memberType const &))
15
    {
16
    }
17
};
18
 
19
// EXCHANGE the following lines for this code to work.
20
//template  class Middle;
21
template  class Middle;
22
 
23
struct Test : public Middle 
24
{
25
    Test();
26
};

powered by: WebSVN 2.1.0

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