Home | History | Annotate | Download | only in CodeGenOpenCL
      1 // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
      2 
      3 void normal_function() {
      4 }
      5 
      6 __kernel void kernel_function() {
      7 }
      8 
      9 // CHECK: !opencl.kernels = !{!0}
     10 // CHECK: !0 = metadata !{void ()* @kernel_function}
     11