mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
10 lines
193 B
LLVM
10 lines
193 B
LLVM
|
; 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
|
||
|
}
|
||
|
|