2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / synth5.C
blobf5e73807c2ddeb996a1a3e1eb64d64265f5eec5d
1 // { dg-do run  }
2 // Bug: generated B::operator= tries to call A::operator=
4 #pragma implementation
5 #line 1 "synth5.h"
6 #pragma interface
8 struct A {
9   virtual A& operator= (const A&) = 0;
12 struct B: public A {
14 #line 5 "synth5.C"
15 int main() { }