1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 22:42:46 +02:00
llvm-mirror/test/Regression/CFrontend/2002-02-13-ConditionalInCall.c
Chris Lattner 18b2ebd247 New testcase for fixed bug
llvm-svn: 1751
2002-02-13 20:25:16 +00:00

10 lines
189 B
C

/* Test problem where bad code was generated with a ?: statement was
in a function call argument */
void foo(int, double, float);
void bar(int x) {
foo(x, x ? 1.0 : 12.5, 1.0f);
}