Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
b75009c53084f97a8e295164c07d1007e66ccefa
/
.
/
test
/
PCH
/
opencl-extensions.cl
blob: a22b007f9d540438c3772c95dc523421d74b38e9 [
file
] [
log
] [
blame
]
//
RUN
:
%
clang_cc1 -emit-pch -o
%
t
%
s
//
RUN
:
%
clang_cc1 -include-pch
%
t
-fsyntax-only
%
s
#
ifndef HEADER
#
define
HEADER
//
Header
.
#
pragma OPENCL EXTENSION cl_khr_fp64
:
enable
#
else
//
Using
the
header
.
void test
(
void
)
{
double d
;
}
#
endif