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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.dg/] [init/] [ctor6.C] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 jeremybenn
// PR c++/21340
2
 
3
struct Base{};
4
struct Iterator : virtual Base {};
5
bool operator==(const Iterator&, const Iterator&);
6
struct IteratorI : Iterator {};
7
struct Obj
8
{
9
  bool operator==(const Obj&) const;
10
};
11
template bool dummy()
12
{
13
  Obj lhs, rhs;
14
  return lhs == rhs;
15
}
16
int
17
main(int argc, char** argv)
18
{
19
  IteratorI* it2 = new IteratorI();
20
}

powered by: WebSVN 2.1.0

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