mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-10 13:51:37 +00:00
d1d4897d3f
Upgrade to use new Tcl exec based test harness. llvm-svn: 36062
12 lines
271 B
LLVM
12 lines
271 B
LLVM
; 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
|
|
}
|