URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 305 |
Rev 338 |
// { dg-do assemble }
|
// { dg-do assemble }
|
// GROUPS passed old-abort
|
// GROUPS passed old-abort
|
template class bug {
|
template class bug {
|
|
|
public:
|
public:
|
void Foo(const int = 0);
|
void Foo(const int = 0);
|
void NotRedeclared(const int);
|
void NotRedeclared(const int);
|
|
|
private:
|
private:
|
T TheItem;
|
T TheItem;
|
};
|
};
|
|
|
template void bug::NotRedeclared(const int)
|
template void bug::NotRedeclared(const int)
|
{
|
{
|
}
|
}
|
|
|
template void bug::Foo(const int)
|
template void bug::Foo(const int)
|
{
|
{
|
}
|
}
|
|
|
int
|
int
|
main()
|
main()
|
{
|
{
|
bug InstantiatedBug;
|
bug InstantiatedBug;
|
|
|
return 0;
|
return 0;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.