mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
b03785f0cd
llvm-svn: 51357
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
|
|
}
|
|
|