// REQUIRES: amdgpu-registered-target
// RUN: %clang_cc1 -no-opaque-pointers -triple amdgcn-unknown-unknown -S -emit-llvm -o - %s | FileCheck %s
// CHECK: define{{.*}} amdgpu_kernel void @test_call_kernel;
}
__kernel void test_call_kernel
{
test_kernel;
}
// CHECK: store i32 4, i32 addrspace * %out, align 4
kernel void test_kernel
{
out[0] = 4