llvm-6502/test/Analysis/DSGraph/2005-03-22-IncompleteGlobal.ll
2006-12-02 04:23:10 +00:00

13 lines
375 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | opt -analyze -datastructure-gc -dsgc-check-flags=G:GIM -dsgc-dspass=bu &&\
; RUN: llvm-upgrade < %s | llvm-as | 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, uint 0
store double 0.1, double* %b
ret void
}