mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +00:00
Test case for PR1328.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36119 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2911090cdf
commit
c7dcd7f604
9
test/Assembler/2007-04-15-BadIntrinsic.ll
Normal file
9
test/Assembler/2007-04-15-BadIntrinsic.ll
Normal 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
|
||||||
|
}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user