mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
95f870ece4
- Also, switch tests to not using llvm-as. They run 20% faster now, not that it matters. llvm-svn: 118952
12 lines
264 B
LLVM
12 lines
264 B
LLVM
; RUN: lli %s > /dev/null
|
|
|
|
@.LC0 = internal global [12 x i8] c"Hello World\00" ; <[12 x i8]*> [#uses=1]
|
|
|
|
declare i32 @puts(i8*)
|
|
|
|
define i32 @main() {
|
|
%reg210 = call i32 @puts( i8* getelementptr ([12 x i8]* @.LC0, i64 0, i64 0) ) ; <i32> [#uses=0]
|
|
ret i32 0
|
|
}
|
|
|