blob: 24a9f3e9e8b8c70a92231874196c52a97c38d9d4 [file] [log] [blame]
Chris Lattner11b89dc2002-02-13 20:25:16 +00001/* Test problem where bad code was generated with a ?: statement was
2 in a function call argument */
3
4void foo(int, double, float);
5
6void bar(int x) {
7 foo(x, x ? 1.0 : 12.5, 1.0f);
8}
9