blob: 57a0be1b1057991c09af85099ecad889f0646238 [file] [log] [blame]
Chris Lattner4b009652007-07-25 00:24:17 +00001// RUN: clang -emit-llvm %s
2
3float test1(int cond, float a, float b)
4{
5 return cond ? a : b;
6}
Chris Lattner4b009652007-07-25 00:24:17 +00007double test2(int cond, float a, double b)
8{
9 return cond ? a : b;
10}