mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7010 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
98f0ef58cd
commit
69134dcafa
20
test/Analysis/DSGraph/2003-06-30-TopDownResolve.ll
Normal file
20
test/Analysis/DSGraph/2003-06-30-TopDownResolve.ll
Normal file
@ -0,0 +1,20 @@
|
||||
; RUN: analyze %s -datastructure-gc -dsgc-dspass=td -dsgc-abort-if-incomplete=X
|
||||
|
||||
%G = internal global int 5
|
||||
|
||||
implementation
|
||||
|
||||
internal void %leaf(int *%X) {
|
||||
store int 0, int* %X
|
||||
ret void
|
||||
}
|
||||
|
||||
internal void %intermediate(void(int*)* %Fn, int* %Ptr) {
|
||||
call void %Fn(int* %Ptr)
|
||||
ret void
|
||||
}
|
||||
|
||||
int %main() {
|
||||
call void %intermediate(void(int*)* %leaf, int* %G)
|
||||
ret int 0
|
||||
}
|
Loading…
Reference in New Issue
Block a user