1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-01-04 05:31:06 +00:00
llvm-6502/test/CodeGen/X86/negative-subscript.ll
2009-09-08 23:54:48 +00:00

11 lines
291 B
LLVM

; RUN: llc < %s -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
}