blob: b21bd667c49883854a22d3659db4a7146d5d9ef2 (
plain)
1
2
3
4
5
6
7
8
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
}
|