1 // PR c++/84231 - overload resolution with cond_expr in a template
6 template<typename T> format& operator%(const T&) { return *this; }
7 template<typename T> format& operator%(T&) { return *this; }
13 void function_template(bool b)
15 // Compiles OK with array lvalue:
18 // Used to fails with pointer rvalue:
22 void normal_function(bool b)
24 // Both cases compile OK in non-template function:
28 function_template<void>(b);