mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
another c99 style problem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27969 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3d1be07141
commit
044edfe019
22
test/Analysis/DSGraph/2006-04-25-ZeroArrayStructUse.ll
Normal file
22
test/Analysis/DSGraph/2006-04-25-ZeroArrayStructUse.ll
Normal 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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user