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++.old-deja/] [g++.jason/] [synth5.C] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 305 jeremybenn
// { dg-do run  }
2
// Bug: generated B::operator= tries to call A::operator=
3
 
4
#pragma implementation
5
#line 1 "synth5.h"
6
#pragma interface
7
 
8
struct A {
9
  virtual A& operator= (const A&) = 0;
10
};
11
 
12
struct B: public A {
13
};
14
#line 5 "synth5.C"
15
int main() { }

powered by: WebSVN 2.1.0

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