Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
4b0096578e961587d1ec0ed5dce45f592a65ed41
/
.
/
test
/
CodeGen
/
conditional.c
blob: ef3283d1d498c418980bcffa8d71042f8b514238 [
file
] [
log
] [
blame
]
// RUN: clang -emit-llvm %s
float
test1
(
int
cond
,
float
a
,
float
b
)
{
return
cond
?
a
:
b
;
}
/* this will fail for now...
double test2(int cond, float a, double b)
{
return cond ? a : b;
}
*/