1 // Copyright (C) 2004 Free Software Foundation, Inc.
2 // Contributed by Nathan Sidwell 17 Dec 2004 <nathan@codesourcery.com>
4 // PR 18975: Rejects legal
5 // Origin: Wolfgang Roehrl <wolfgang.roehrl@de.gi-de.com>
11 PTR& operator= (PTR&);
15 PTR& operator= (const PTR&);
21 XYZ (PTR& p) : ptr(p) {}
30 XYZ f2 (void) { return f1(); }
31 void f3 (XYZ& dst, const XYZ& src) { dst = src; }