pkg(llvm_ir-12.0.1): Fixed test.ll
This commit is contained in:
parent
70cf0b1a90
commit
478ccefa58
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue