Skip to content

Commit f67737b

Browse files
committed
Add test
1 parent b863f78 commit f67737b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
; RUN: llc -mtriple=amdgcn -mcpu=gfx1200 < %s 2>&1 | FileCheck %s
2+
3+
define amdgpu_kernel void @entry_fn() {
4+
; CHECK-NOT: LLVM ERROR: invalid call to entry function
5+
entry:
6+
call void @entry_fn()
7+
ret void
8+
}

0 commit comments

Comments
 (0)