blob: 4d6fa1084d4b8b1e074abcbc68eaebbfda0ad4cf [file] [log] [blame]
Justin Holewinski818eafb2011-10-05 17:58:44 +00001// RUN: %clang_cc1 %s -triple ptx32-unknown-unknown -emit-llvm -o - | FileCheck %s
2
3void device_function() {
4}
5// CHECK: define ptx_device void @device_function()
6
7__kernel void kernel_function() {
8}
9// CHECK: define ptx_kernel void @kernel_function()
10