New testcase, distilled from ed-0.2
[oota-llvm.git] / test / CFrontend / 2002-02-13-ConditionalInCall.c
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