OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [init/] [ctor6.C] - Diff between revs 149 and 154

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();
}
}
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.