URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 305 |
Rev 338 |
// { dg-do assemble }
|
// { dg-do assemble }
|
// GROUPS passed templates
|
// GROUPS passed templates
|
|
|
class String {
|
class String {
|
char s[100];
|
char s[100];
|
};
|
};
|
|
|
template
|
template
|
class Art {
|
class Art {
|
public:
|
public:
|
Element *data;
|
Element *data;
|
Art() { data=new Element[100]; }
|
Art() { data=new Element[100]; }
|
};
|
};
|
|
|
template
|
template
|
class Assoc {
|
class Assoc {
|
public:
|
public:
|
struct KeyValue {
|
struct KeyValue {
|
Key key;
|
Key key;
|
Value value;
|
Value value;
|
int filled;
|
int filled;
|
};
|
};
|
|
|
Art data;
|
Art data;
|
int fill;
|
int fill;
|
};
|
};
|
|
|
int main() {
|
int main() {
|
Assoc table;
|
Assoc table;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.