URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
// { dg-do assemble }
|
// { dg-do assemble }
|
// PRMS Id: 6568
|
// PRMS Id: 6568
|
// Bug: g++ complains about the ambiguous conversion to bool even though
|
// Bug: g++ complains about the ambiguous conversion to bool even though
|
// we wouldn't end up using it anyway.
|
// we wouldn't end up using it anyway.
|
|
|
class AString
|
class AString
|
{
|
{
|
public:
|
public:
|
AString (unsigned len);
|
AString (unsigned len);
|
operator char *() const;
|
operator char *() const;
|
operator char const *() const;
|
operator char const *() const;
|
};
|
};
|
|
|
void
|
void
|
foo(unsigned t, AString const & handle)
|
foo(unsigned t, AString const & handle)
|
{
|
{
|
}
|
}
|
|
|
void
|
void
|
foo(AString const & handle, bool includeSpecials)
|
foo(AString const & handle, bool includeSpecials)
|
{
|
{
|
unsigned t;
|
unsigned t;
|
foo(t, handle);
|
foo(t, handle);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.