llvm-6502/test/Analysis/DSGraph/2005-03-22-IncompleteGlobal.ll

13 lines
346 B
LLVM
Raw Normal View History

; 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
}