Home | History | Annotate | Download | only in SemaOpenCL
      1 // RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only
      2 
      3 // expected-no-diagnostics
      4 
      5 float __attribute__((overloadable)) acos(float);
      6 
      7 typedef float float4 __attribute__((ext_vector_type(4)));
      8 int printf(__constant const char* st, ...);
      9 
     10 void test(void)
     11 {
     12   float4 a;
     13   printf("%8.4v4hlf\n", a);
     14 }
     15