mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
b1032a8a2f
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64163 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
301 B
LLVM
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
|
|
}
|