diff options
| author | Chris Lattner <sabre@nondot.org> | 2003-06-30 15:17:39 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2003-06-30 15:17:39 +0000 |
| commit | 31514c1c921ce058d905276a8690ff9b2fa4379f (patch) | |
| tree | a9431ac9b06c8eaedd254b7d52f3607ff161d1c3 /llvm | |
| parent | d9b889c4df55b27a7b8f02836fb36580ca62c321 (diff) | |
| download | bcm5719-llvm-31514c1c921ce058d905276a8690ff9b2fa4379f.tar.gz bcm5719-llvm-31514c1c921ce058d905276a8690ff9b2fa4379f.zip | |
New testcase
llvm-svn: 7010
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/test/Regression/Analysis/DSGraph/2003-06-30-TopDownResolve.ll | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/llvm/test/Regression/Analysis/DSGraph/2003-06-30-TopDownResolve.ll b/llvm/test/Regression/Analysis/DSGraph/2003-06-30-TopDownResolve.ll new file mode 100644 index 00000000000..9c060323023 --- /dev/null +++ b/llvm/test/Regression/Analysis/DSGraph/2003-06-30-TopDownResolve.ll @@ -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 +} |

