[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / SemaOpenCL / builtin.cl
blobb6f215668c87a2eece10ea9bd8fc16b647b248a8
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++
4 // expected-no-diagnostics
6 float __attribute__((overloadable)) acos(float);
8 typedef float float4 __attribute__((ext_vector_type(4)));
9 int printf(__constant const char* st, ...);
11 void test(void)
13 float4 a;
14 printf("%8.4v4hlf\n", a);