mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-30 15:22:41 +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…
x
Reference in New Issue
Block a user