forked from OSchip/llvm-project
parent
79d25c3440
commit
f400745e7f
|
@ -0,0 +1,9 @@
|
|||
; RUN: llvm-as < %s -o /dev/null -f |& grep {Call to invalid LLVM intrinsic}
|
||||
|
||||
declare i32 @llvm.foobar(i32 %foo)
|
||||
|
||||
define i32 @test() {
|
||||
%nada = call i32 @llvm.foobar(i32 0)
|
||||
ret i32 %nada
|
||||
}
|
||||
|
Loading…
Reference in New Issue