5598c2035ba4592cf5cf4d3b57d91031b3dc796f
[oota-llvm.git] / test / Analysis / DSGraph / 2006-04-25-ZeroArrayStructUse.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | opt -analyze -datastructure-gc -dsgc-check-flags=x:IA
2
3 ; ModuleID = 'bug3.bc'
4 target endian = little
5 target pointersize = 32
6 target triple = "i686-pc-linux-gnu"
7
8
9 %struct.c99 = type {
10         uint,
11         uint,
12         [0 x sbyte*] }
13
14 implementation   ; Functions:
15
16
17 void %foo(%struct.c99* %x) {
18 entry:
19 %B1 = getelementptr %struct.c99* %x, long 0, uint 2, uint 1
20 %B2 = getelementptr %struct.c99* %x, long 0, uint 2, uint 2
21 ret void
22 }