mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-07 11:33:44 +00:00
14 lines
305 B
LLVM
14 lines
305 B
LLVM
|
; RUN: bugpoint %s -dce -bugpoint-deletecalls -simplifycfg
|
||
|
|
||
|
%.LC0 = internal global [13 x sbyte] c"Hello World\0A\00"
|
||
|
|
||
|
implementation
|
||
|
|
||
|
declare int %printf(sbyte*, ...)
|
||
|
|
||
|
int %main() {
|
||
|
call int(sbyte*, ...)* %printf( sbyte* getelementptr ([13 x sbyte]* %.LC0, long 0, long 0) )
|
||
|
ret int 0
|
||
|
}
|
||
|
|