1// RUN: %clang_cc1 -emit-pch -o %t %s -triple spir-unknown-unknown 2// RUN: %clang_cc1 -include-pch %t -fsyntax-only %s -triple spir-unknown-unknown 3 4#ifndef HEADER 5#define HEADER 6// Header. 7 8#pragma OPENCL EXTENSION cl_khr_fp64 : enable 9 10#else 11// Using the header. 12 13void test(void) { 14 double d; 15} 16 17#endif 18