mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-14 01:25:54 +00:00
23 lines
350 B
Rust
23 lines
350 B
Rust
|
// rustfmt-format_strings: false
|
||
|
|
||
|
fn main() {
|
||
|
let expected = "; ModuleID = \'foo\'
|
||
|
|
||
|
; Function Attrs: nounwind
|
||
|
declare void @llvm.memset.p0i8.i32(i8* nocapture, i8, i32, i32, i1) #0
|
||
|
|
||
|
declare i32 @write(i32, i8*, i32)
|
||
|
|
||
|
declare i32 @putchar(i32)
|
||
|
|
||
|
declare i32 @getchar()
|
||
|
|
||
|
define i32 @main() {
|
||
|
entry:
|
||
|
ret i32 0
|
||
|
}
|
||
|
|
||
|
attributes #0 = { nounwind }
|
||
|
";
|
||
|
}
|