another c99 style problem

llvm-svn: 27969
This commit is contained in:
Andrew Lenharth 2006-04-25 19:27:56 +00:00
parent 4cc3e0b05f
commit a3f7583408
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
; RUN: analyze %s -datastructure-gc -dsgc-check-flags=x:IA
; ModuleID = 'bug3.bc'
target endian = little
target pointersize = 32
target triple = "i686-pc-linux-gnu"
%struct.c99 = type {
uint,
uint,
[0 x sbyte*] }
implementation ; Functions:
void %foo(%struct.c99* %x) {
entry:
%B1 = getelementptr %struct.c99* %x, long 0, uint 2, uint 1
%B2 = getelementptr %struct.c99* %x, long 0, uint 2, uint 2
ret void
}