mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-05 01:31:05 +00:00
Make testcase more interesting, remove absolute path from -load line
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6760 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
08227e4f17
commit
c0feeb5a0f
@ -1,4 +1,4 @@
|
||||
; RUN: if as < %s | opt -load ~/llvm/lib/Debug/libhello.so -deadargelim | dis | grep DEADARG
|
||||
; RUN: if as < %s | opt -deadargelim | dis | grep DEADARG
|
||||
; RUN: then exit 1
|
||||
; RUN: else exit 0
|
||||
; RUN: fi
|
||||
@ -25,3 +25,16 @@ internal void %evenhardertest(int %DEADARG3) {
|
||||
ret void
|
||||
}
|
||||
|
||||
internal void %needarg(int %TEST) {
|
||||
call int %needarg2(int %TEST)
|
||||
ret void
|
||||
}
|
||||
|
||||
internal int %needarg2(int %TEST) {
|
||||
ret int %TEST
|
||||
}
|
||||
|
||||
internal void %needarg3(int %TEST3) {
|
||||
call void %needarg(int %TEST3)
|
||||
ret void
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user