1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/Assembler/2007-04-15-BadIntrinsic.ll
Reid Spencer 22afcce51b Test case for PR1328.
llvm-svn: 36119
2007-04-16 06:52:21 +00:00

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
}