blob: 4165f1fa0ce580ad998c58d1b9a6132e62c6f0b2 [file] [log] [blame]
Peter Collingbourne7ce13fc2011-02-14 01:42:53 +00001// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
2
3void normal_function() {
4}
5
6__kernel void kernel_function() {
7}
8
Yaxun Liuba28cba2016-06-22 14:56:35 +00009// CHECK: define void @kernel_function() {{[^{]+}} !kernel_arg_addr_space ![[MD:[0-9]+]] !kernel_arg_access_qual ![[MD]] !kernel_arg_type ![[MD]] !kernel_arg_base_type ![[MD]] !kernel_arg_type_qual ![[MD]] {
10// CHECK: ![[MD]] = !{}