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 }
|
// PRMS Id: 4864
|
// PRMS Id: 4864
|
// Bug: g++ can't deal with a guiding declaration which comes before the
|
// Bug: g++ can't deal with a guiding declaration which comes before the
|
// template.
|
// template.
|
|
|
void f (const int&, const int&);
|
void f (const int&, const int&);
|
template void f (const T&, const T&) { }
|
template void f (const T&, const T&) { }
|
|
|
void g (int a)
|
void g (int a)
|
{
|
{
|
f (a,a); // { dg-bogus "" } two identical candidates
|
f (a,a); // { dg-bogus "" } two identical candidates
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.