* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / cvt4.C
blob6d62209a225044fc9e832efc892f40a022566181
1 // { dg-do assemble  }
2 // GROUPS passed conversions
3 class A {};
5 template <class TP>
6 class B
8   A &(*_f) (A &, TP);
9   TP _a;
10 public:
11   B (A &(*f) (A &, TP), TP a) : _f (f), _a (a) {}
12   friend A &operator<< (A &o, const B<TP> &m)
13     { (*m._f) (o, m._a); return o; }
16 A &setw (A &, int);
17 B<int> setw (int n)
19   return B<int> (setw, n);
22 A x;
24 void f ()
26   x << setw (2);