mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
a3cf7e7a95
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34052 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
}
|