YouCompleteMe/cpp/llvm/tools/clang/test/SemaOpenCL/cond.cl

6 lines
191 B
Common Lisp
Raw Normal View History

// RUN: %clang_cc1 %s -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; }