llvm-6502/test/Analysis/DSGraph/2003-07-01-FieldCollapse.ll
2006-12-02 04:23:10 +00:00

12 lines
295 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | opt -analyze -datastructure-gc -dsgc-abort-if-any-collapsed
%X = internal global { int, short, short } { int 1, short 2, short 3 }
implementation
void %test() {
store short 5, short* getelementptr ({ int, short, short }* %X, long 0, uint 1)
ret void
}