Test case for PR1328.

llvm-svn: 36119
This commit is contained in:
Reid Spencer 2007-04-16 06:52:21 +00:00
parent 79d25c3440
commit f400745e7f
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
; 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
}