Home | History | Annotate | Download | only in PCH
      1 // RUN: %clang_cc1 -emit-pch -o %t %s
      2 // RUN: %clang_cc1 -include-pch %t -fsyntax-only %s 
      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 
     13 void test(void) {
     14   double d;
     15 }
     16 
     17 #endif
     18