New testcase, the BU pass is marking the global complete in the globals graph.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20772 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-03-22 22:07:15 +00:00
parent f2dce8d29b
commit 4c10375785

View File

@ -0,0 +1,12 @@
; RUN: analyze %s -datastructure-gc -dsgc-check-flags=G:GIM -dsgc-dspass=bu
%S = type { double, int }
%G = external global %S
void %main() {
%b = getelementptr %S* %G, long 0, ubyte 0
store double 0.1, double* %b
ret void
}