mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
d349a4eda1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47231 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
344 B
LLVM
11 lines
344 B
LLVM
; RUN: bugpoint %s -dce -bugpoint-deletecalls -simplifycfg
|
|
|
|
@.LC0 = internal global [13 x i8] c"Hello World\0A\00" ; <[13 x i8]*> [#uses=1]
|
|
|
|
declare i32 @printf(i8*, ...)
|
|
|
|
define i32 @main() {
|
|
call i32 (i8*, ...)* @printf( i8* getelementptr ([13 x i8]* @.LC0, i64 0, i64 0) ) ; <i32>:1 [#uses=0]
|
|
ret i32 0
|
|
}
|