Chris Lattner | 11b89dc | 2002-02-13 20:25:16 +0000 | [diff] [blame^] | 1 | /* Test problem where bad code was generated with a ?: statement was |
2 | in a function call argument */ | ||||
3 | |||||
4 | void foo(int, double, float); | ||||
5 | |||||
6 | void bar(int x) { | ||||
7 | foo(x, x ? 1.0 : 12.5, 1.0f); | ||||
8 | } | ||||
9 |