Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
a3efea1881cd7cf7b7764b3100901b27ac2affe7
/
.
/
clang
/
test
/
Sema
/
opencl-cond.c
blob: d654a152c81ef87b04be534c89037b8741e15e9f [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %s -x cl -verify -pedantic -fsyntax-only
typedef
__attribute__
((
ext_vector_type
(
4
)))
float
float4
;
float4
foo
(
float4
a
,
float4
b
,
float4
c
,
float4
d
)
{
return
a
<
b
?
c
:
d
;
}