1// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only -cl-std=CL1.2 2// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only -cl-std=clc++ 3 4// expected-no-diagnostics 5 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