Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / PCH / opencl-extensions.cl
blobd6d541658a18e847e030f7c65243fd8c7dd99e32
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
4 #ifndef HEADER
5 #define HEADER
6 // Header.
8 #pragma OPENCL EXTENSION cl_khr_fp64 : enable
10 #else
11 // Using the header.
13 void test(void) {
14 double d;
17 #endif