Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / 2002-02-13-ConditionalInCall.c
blobd389371dd3233933fcc25dee7e2ff9a0de98fb58
1 // RUN: %clang_cc1 -emit-llvm %s -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);