mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Make testcase a bit more interesting
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7033 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
993251ecd6
commit
7d63ac6252
@ -8,6 +8,7 @@ internal void %leaf(int *%X) {
|
|||||||
store int 0, int* %X
|
store int 0, int* %X
|
||||||
ret void
|
ret void
|
||||||
}
|
}
|
||||||
|
internal void %leaf2(int* %X) { ret void }
|
||||||
|
|
||||||
internal void %intermediate(void(int*)* %Fn, int* %Ptr) {
|
internal void %intermediate(void(int*)* %Fn, int* %Ptr) {
|
||||||
call void %Fn(int* %Ptr)
|
call void %Fn(int* %Ptr)
|
||||||
@ -16,5 +17,8 @@ internal void %intermediate(void(int*)* %Fn, int* %Ptr) {
|
|||||||
|
|
||||||
int %main() {
|
int %main() {
|
||||||
call void %intermediate(void(int*)* %leaf, int* %G)
|
call void %intermediate(void(int*)* %leaf, int* %G)
|
||||||
|
call void %intermediate(void(int*)* %leaf2, int* %G)
|
||||||
|
call void %intermediate(void(int*)* %leaf, int* %G)
|
||||||
|
call void %intermediate(void(int*)* %leaf2, int* %G)
|
||||||
ret int 0
|
ret int 0
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user