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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.law/] [template1.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
 
4
class String {
5
        char s[100];
6
};
7
 
8
template 
9
class Art {
10
public:
11
        Element *data;
12
        Art() { data=new Element[100]; }
13
};
14
 
15
template 
16
class Assoc {
17
public:
18
        struct KeyValue {
19
                Key key;
20
                Value value;
21
                int filled;
22
        };
23
 
24
        Art data;
25
        int fill;
26
};
27
 
28
int main() {
29
        Assoc table;
30
}

powered by: WebSVN 2.1.0

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