mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
c7dcd7f604
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36119 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
}
|
|
|