pkg(llvm_ir-12.0.1): Fixed test.ll

This commit is contained in:
Niki4tap 2021-10-06 13:00:58 +00:00
parent 70cf0b1a90
commit 478ccefa58
1 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,9 @@
@.str = private unnamed_addr constant [3 x i8] c"OK\n" @.str = private unnamed_addr constant [2 x i8] c"OK"
declare i32 @puts(i8* nocapture) nounwind declare i32 @puts(i8* nocapture) nounwind
define i32 @main() { define i32 @main() {
%cast210 = getelementptr [3 x i8],[3 x i8]* @.str, i64 0, i64 0 %cast210 = getelementptr [2 x i8],[2 x i8]* @.str, i64 0, i64 0
call i32 @puts(i8* %cast210) call i32 @puts(i8* %cast210)
ret i32 0 ret i32 0