llvm-6502/test/Analysis/DSGraph/2005-03-22-IncompleteGlobal.ll
2005-03-22 22:11:22 +00:00

13 lines
312 B
LLVM

; RUN: analyze %s -datastructure-gc -dsgc-check-flags=G:GIM -dsgc-dspass=bu &&\
; RUN: analyze %s -datastructure-gc -dsgc-check-flags=G:GIM -dsgc-dspass=td
%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
}