blob: 86b053367d6b63c916eee52c4df8b9525e9d946f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
; 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, uint 0
store double 0.1, double* %b
ret void
}
|