summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaOpenCL/extension-begin.h
blob: d9865ba0b33a457ce07897cd2bb2c8b3d9cc3b70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef INCLUDED
#define INCLUDED

#pragma OPENCL EXTENSION all : begin
#pragma OPENCL EXTENSION all : end

#pragma OPENCL EXTENSION my_ext : begin

struct A {
  int a;
};

typedef struct A TypedefOfA;
typedef const __private TypedefOfA* PointerOfA;

void f(void);

__attribute__((overloadable)) void g(long x);

#pragma OPENCL EXTENSION my_ext : end
#pragma OPENCL EXTENSION my_ext : end

__attribute__((overloadable)) void g(void);

#endif // INCLUDED

OpenPOWER on IntegriCloud