Change printfln to printfn. Make LLVM 15 tests default.

This commit is contained in:
Christoffer Lerno
2023-01-11 17:27:54 +01:00
committed by Christoffer Lerno
parent 3298ff2e15
commit dc16f65c8e
971 changed files with 30632 additions and 30623 deletions

View File

@@ -25,15 +25,16 @@ fn int main()
return 0;
}
// #expect: abc.ll
/* #expect: abc.ll
%Bar = type { i32 }
define i32 @main()
define i32 @main() #0 {
entry:
%bar = alloca %Bar, align 4
%0 = bitcast %Bar* %bar to i32*
store i32 0, i32* %0, align 4
call void @foo_Bar_test(%Bar* %bar)
store i32 0, ptr %bar, align 4
call void @foo_Bar_test(ptr %bar)
ret i32 0
}
declare void @foo_Bar_test(%Bar*)
declare void @foo_Bar_test(ptr)