2 // { dg-prune-output "mangled name" }
4 // Copyright (C) 2001 Free Software Foundation, Inc.
5 // Contributed by Nathan Sidwell 25 Jul 2001 <nathan@codesourcery.com>
7 // Origin: gustavo@geneura.ugr.es
8 // Bug 3624. Template instantiation of a reference type was not
9 // converted from reference when doing a call.
15 template <class A, class B, class C, C& c, bool d> class eo: public A
20 cout << this->x << " " << this->y << " "
22 << ((d)?"true":"false") << endl;
36 float fitness(const XY& a)
43 float operator()(const XY& a)
56 float operator()(const XY& a)
67 eo<XY, float, fitness2, f2, true> eo2;
68 eo<XY, float, fitness3, f3, true> eo3;