URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
// PR c++/21340
|
// PR c++/21340
|
|
|
struct Base{};
|
struct Base{};
|
struct Iterator : virtual Base {};
|
struct Iterator : virtual Base {};
|
bool operator==(const Iterator&, const Iterator&);
|
bool operator==(const Iterator&, const Iterator&);
|
struct IteratorI : Iterator {};
|
struct IteratorI : Iterator {};
|
struct Obj
|
struct Obj
|
{
|
{
|
bool operator==(const Obj&) const;
|
bool operator==(const Obj&) const;
|
};
|
};
|
template bool dummy()
|
template bool dummy()
|
{
|
{
|
Obj lhs, rhs;
|
Obj lhs, rhs;
|
return lhs == rhs;
|
return lhs == rhs;
|
}
|
}
|
int
|
int
|
main(int argc, char** argv)
|
main(int argc, char** argv)
|
{
|
{
|
IteratorI* it2 = new IteratorI();
|
IteratorI* it2 = new IteratorI();
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.