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