1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Testcase for a bug responsible for GCC bootstrap failure, fallout from PR411.

llvm-svn: 34004
This commit is contained in:
Chris Lattner 2007-02-07 19:28:52 +00:00
parent 9eb0b8c719
commit 1c153a1e17

View File

@ -0,0 +1,11 @@
; RUN: llvm-as < %s | opt -deadargelim | llvm-dis | grep '@test(' &&
; RUN: llvm-as < %s | opt -deadargelim | llvm-dis | not grep dead
define internal i32 @test(i32 %X, i32 %dead) {
ret i32 %X
}
define i32 @caller() {
%A = call i32 @test(i32 123, i32 456)
ret i32 %A
}