86b053367d6b63c916eee52c4df8b9525e9d946f
[oota-llvm.git] / test / Analysis / DSGraph / 2005-03-22-IncompleteGlobal.ll
1 ; RUN: llvm-as < %s | opt -analyze -datastructure-gc  -dsgc-check-flags=G:GIM -dsgc-dspass=bu &&\
2 ; RUN: llvm-as < %s | opt -analyze -datastructure-gc  -dsgc-check-flags=G:GIM -dsgc-dspass=td
3
4 %S = type { double, int }
5
6 %G = external global %S
7
8 void %main() {
9         %b = getelementptr %S* %G, long 0, uint 0
10         store double 0.1, double* %b
11         ret void
12 }