mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-25 14:32:53 +00:00
c7c6a864c0
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20774 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
312 B
LLVM
13 lines
312 B
LLVM
; RUN: analyze %s -datastructure-gc -dsgc-check-flags=G:GIM -dsgc-dspass=bu &&\
|
|
; RUN: analyze %s -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
|
|
}
|