Sign in
ara-mdk
/
platform
/
external
/
clang
/
c7f811638f8603fa373d2be724e8b1c8ba51ad75
/
.
/
test
/
SemaOpenCL
/
cond.cl
blob: 802ad9b785a8b9906ff534242ff4a9c6221d017d [
file
] [
log
] [
blame
]
//
RUN
:
%
clang_cc1
%
s -verify -pedantic -fsyntax-only
//
expected-no-diagnostics
typedef __attribute__
((
ext_vector_type
(
4
)))
float float4
;
float4 foo
(
float4 a
,
float4 b
,
float4 c
,
float4 d
)
{
return a
<
b
?
c
:
d
; }