brintos

brintos / llvm-project-archived public Read only

0
0
Text · 378 B · b6f2156 Raw
16 lines · plain
1// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only -cl-std=CL1.22// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only -cl-std=clc++3 4// expected-no-diagnostics5 6float __attribute__((overloadable)) acos(float);7 8typedef float float4 __attribute__((ext_vector_type(4)));9int printf(__constant const char* st, ...);10 11void test(void)12{13  float4 a;14  printf("%8.4v4hlf\n", a);15}16