blob: db072d906d93a8acf8b127481dece6677b4fa11c [file] [log] [blame]
Chris Lattnerd52e1b02006-08-27 22:47:14 +00001; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-check-flags=x:IA
Andrew Lenharth044edfe2006-04-25 19:27:56 +00002
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}