llvm-6502/test/Analysis/DSGraph/2005-03-22-IncompleteGlobal.ll
2006-08-27 22:47:14 +00:00

13 lines
346 B
LLVM

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