[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / SemaOpenCL / extension-begin.h
blob0e262e4adb9371bc2792b67c29216e1c16ace4da
1 #ifndef INCLUDED
2 #define INCLUDED
4 #pragma OPENCL EXTENSION all : begin
5 #pragma OPENCL EXTENSION all : end
7 #pragma OPENCL EXTENSION my_ext : begin
8 struct A {
9 int a;
11 #pragma OPENCL EXTENSION my_ext : end
12 #pragma OPENCL EXTENSION my_ext : end
14 #define my_ext
16 typedef struct A TypedefOfA;
17 typedef const __private TypedefOfA* PointerOfA;
19 void f(void);
21 __attribute__((overloadable)) void g(long x);
25 __attribute__((overloadable)) void g(void);
27 #endif // INCLUDED