blob: 37f5038cd4408d3a9b3d217cc8ff33cb28dfe2e2 [file] [log] [blame]
Chris Lattnerdab02ae2003-11-02 20:43:10 +00001; This is the same testcase as 2003-06-29-NodeCollapsing2.ll, but it uses the
2; graph checker.
3;
4; RUN: analyze %s -datastructure-gc -dsgc-abort-if-any-collapsed
5;
6
7%S = type { double, int }
8%T = type { double, int, sbyte }
9
10void %test() {
11 %A = alloca double*
12 %B = alloca %S
13 %C = alloca %T
14 %b = getelementptr %S* %B, long 0, ubyte 0
15 %c = getelementptr %T* %C, long 0, ubyte 0
16
17 store double* %b, double** %A
18 store double* %c, double** %A
19 ret void
20}