blob: ef3283d1d498c418980bcffa8d71042f8b514238 [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}
7/* this will fail for now...
8double test2(int cond, float a, double b)
9{
10 return cond ? a : b;
11}
12*/