mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 15:32:52 +01:00
4794600a71
llvm-svn: 9657
21 lines
457 B
LLVM
21 lines
457 B
LLVM
; This is the same testcase as 2003-06-29-NodeCollapsing2.ll, but it uses the
|
|
; graph checker.
|
|
;
|
|
; RUN: analyze %s -datastructure-gc -dsgc-abort-if-any-collapsed
|
|
;
|
|
|
|
%S = type { double, int }
|
|
%T = type { double, int, sbyte }
|
|
|
|
void %test() {
|
|
%A = alloca double*
|
|
%B = alloca %S
|
|
%C = alloca %T
|
|
%b = getelementptr %S* %B, long 0, ubyte 0
|
|
%c = getelementptr %T* %C, long 0, ubyte 0
|
|
|
|
store double* %b, double** %A
|
|
store double* %c, double** %A
|
|
ret void
|
|
}
|