mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
5edf210bdf
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51357 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
195 B
LLVM
10 lines
195 B
LLVM
; RUN: not 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
|
|
}
|
|
|