5 // We used to turn the COND_EXPR lvalue into a MIN_EXPR rvalue, and
6 // then return a reference to a temporary in qMin.
12 template<typename T> T &qMin(T &a, T &b)
17 int main (int, char **)
22 assert (&h == &f || &h == &g);
23 const Foo &i = qMin((const Foo&)f, (const Foo&)g);
24 assert (&i == &f || &i == &g);