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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.bob/] [template3.C] - Blame information for rev 853

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

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do assemble  }
2
// prms-id: 9979
3
 
4
template < class Referencee >
5
class Referencer
6
{
7
public:
8
    Referencer() {}
9
};
10
 
11
template 
12
class List
13
{
14
public:
15
    List() {}
16
};
17
 
18
template
19
class Dictionary
20
{
21
public:
22
    Dictionary() : i_buckets (new List[1234]) {}
23
    ~Dictionary() { delete [] i_buckets; }
24
 
25
    List *              i_buckets;
26
};
27
 
28
class Exchangeable {};
29
class ExchangeableHandle {};
30
 
31
class ExchangeableList
32
    : public Dictionary, ExchangeableHandle>
33
{
34
public:
35
    ExchangeableList(int size=0);
36
};
37
 
38
class ObjectExchange
39
{
40
public:
41
    ObjectExchange() {};
42
 
43
    ExchangeableList    i_theWatchList; // Instruments being monitored
44
};
45
 
46
int
47
main()
48
{
49
}

powered by: WebSVN 2.1.0

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