mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
15 lines
236 B
LLVM
15 lines
236 B
LLVM
|
; PR1187
|
||
|
; RUN: llvm-upgrade < %s | llvm-as > /dev/null
|
||
|
|
||
|
implementation
|
||
|
|
||
|
int @main(int %argc, sbyte** %argv) {
|
||
|
entry:
|
||
|
%exit = alloca int, align 4 ; <i32*> [#uses=11]
|
||
|
store int 0, int* %exit
|
||
|
br label %exit
|
||
|
|
||
|
exit:
|
||
|
ret int 0
|
||
|
}
|