Chris Lattner | 8da1cb6 | 2007-07-13 20:18:44 +0000 | [diff] [blame] | 1 | // RUN: clang -emit-llvm %s |
2 | |||||
3 | float test1(int cond, float a, float b) | ||||
4 | { | ||||
5 | return cond ? a : b; | ||||
6 | } | ||||
7 | /* this will fail for now... | ||||
8 | double test2(int cond, float a, double b) | ||||
9 | { | ||||
10 | return cond ? a : b; | ||||
11 | } | ||||
12 | */ |