minix/external/bsd/llvm/dist/clang/test/SemaOpenCL/cond.cl

7 lines
218 B
Common Lisp
Raw Normal View History

// 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; }