I have reduced the test-case to: template <typename T, typename Q> inline typeof(T() + Q()) min(T a, Q b) { return a < b ? a : b; } int test() { short a = min(short(1), 2); }
Attachment:
signature.asc
Description: This is a digitally signed message part.