Andrew Lenharth | 044edfe | 2006-04-25 19:27:56 +0000 | [diff] [blame] | 1 | ; RUN: analyze %s -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 | } |