summaryrefslogtreecommitdiff
path: root/test/Object/Inputs/trivial.ll
blob: 25ece7611a3156770a30910a3834ff3252d8eec4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
@.str = private unnamed_addr constant [13 x i8] c"Hello World\0A\00", align 1

define i32 @main() nounwind {
entry:
  %call = tail call i32 @puts(i8* getelementptr inbounds ([13 x i8]* @.str, i32 0, i32 0)) nounwind
  tail call void bitcast (void (...)* @SomeOtherFunction to void ()*)() nounwind
  ret i32 0
}

declare i32 @puts(i8* nocapture) nounwind

declare void @SomeOtherFunction(...)