repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
synth5.C
blob
f5e73807c2ddeb996a1a3e1eb64d64265f5eec5d
1
// { 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() { }