test case for functions as ternary expression operands (case 434829)