]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/string-lit-custom.rs
Merge commit '39683d8eb7a32a74bea96ecbf1e87675d3338506' into sync_cg_gcc-2022-03-26
[rust.git] / src / tools / rustfmt / tests / target / string-lit-custom.rs
1 fn main() {
2     let expected = "; ModuleID = \'foo\'
3
4 ; Function Attrs: nounwind
5 declare void @llvm.memset.p0i8.i32(i8* nocapture, i8, i32, i32, i1) #0
6
7 declare i32 @write(i32, i8*, i32)
8
9 declare i32 @putchar(i32)
10
11 declare i32 @getchar()
12
13 define i32 @main() {
14 entry:
15   ret i32 0
16 }
17
18 attributes #0 = { nounwind }
19 ";
20 }