URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 301 |
Rev 384 |
// Red Hat bugzilla 65035
|
// Red Hat bugzilla 65035
|
// Bug: We were encoding the name of the instantiation as 'operator int'
|
// Bug: We were encoding the name of the instantiation as 'operator int'
|
// rather than 'operator T'.
|
// rather than 'operator T'.
|
// { dg-do compile }
|
// { dg-do compile }
|
|
|
struct C {
|
struct C {
|
template
|
template
|
operator T ();
|
operator T ();
|
};
|
};
|
|
|
template
|
template
|
C::operator T () { return 0; }
|
C::operator T () { return 0; }
|
|
|
template C::operator int ();
|
template C::operator int ();
|
|
|
// { dg-final { scan-assembler _ZN1CcvT_IiEEv } }
|
// { dg-final { scan-assembler _ZN1CcvT_IiEEv } }
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.