llvm-6502/test/Assembler/2007-04-15-BadIntrinsic.ll
Reid Spencer c7dcd7f604 Test case for PR1328.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36119 91177308-0d34-0410-b5e6-96231b3b80d8
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
}