1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test/CodeGen/X86/negative-subscript.ll
2009-02-09 20:54:38 +00:00

11 lines
301 B
LLVM

; RUN: llvm-as < %s | llc -march=x86
; rdar://6559995
@a = external global [255 x i8*], align 32
define i32 @main() nounwind {
entry:
store i8* bitcast (i8** getelementptr ([255 x i8*]* @a, i32 0, i32 -2147483624) to i8*), i8** getelementptr ([255 x i8*]* @a, i32 0, i32 16), align 32
ret i32 0
}