Improve compatibility with older versions of Windows.
[llvm/msp430.git] / test / FrontendC / 2002-02-13-ConditionalInCall.c
blob0dad6ff5c2f4b40c3494a4db8a1cbeb52daec284
1 // RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
3 /* Test problem where bad code was generated with a ?: statement was
4 in a function call argument */
6 void foo(int, double, float);
8 void bar(int x) {
9 foo(x, x ? 1.0 : 12.5, 1.0f);