mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
15 lines
240 B
LLVM
15 lines
240 B
LLVM
|
; RUN: not llvm-as < %s
|
||
|
; PR1633
|
||
|
|
||
|
%meta = type { i8* }
|
||
|
%obj = type { %meta* }
|
||
|
|
||
|
declare void @llvm.gcroot(%obj*, %meta*)
|
||
|
|
||
|
define void @f() {
|
||
|
entry:
|
||
|
%local.obj = alloca %obj
|
||
|
call void @llvm.gcroot(%obj* %local.obj, %meta* null)
|
||
|
ret void
|
||
|
}
|