blob: b8238f06dd344a7ce906219d29f885e3d7a4addd [file] [log] [blame]
Andrew Lenharth044edfe2006-04-25 19:27:56 +00001; RUN: analyze %s -datastructure-gc -dsgc-check-flags=x:IA
2
3; ModuleID = 'bug3.bc'
4target endian = little
5target pointersize = 32
6target triple = "i686-pc-linux-gnu"
7
8
9%struct.c99 = type {
10 uint,
11 uint,
12 [0 x sbyte*] }
13
14implementation ; Functions:
15
16
17void %foo(%struct.c99* %x) {
18entry:
19%B1 = getelementptr %struct.c99* %x, long 0, uint 2, uint 1
20%B2 = getelementptr %struct.c99* %x, long 0, uint 2, uint 2
21ret void
22}