Skip to content

Commit 267800a

Browse files
committed
New generated main returns void
1 parent 8232734 commit 267800a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/codegen/abi-main-signature-16bit-c-int.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@
2929
fn main() {
3030
}
3131

32-
// CHECK: define i16 @main(i16, i8**)
32+
// CHECK: define void @main(i16, i8**)

src/test/codegen/abi-main-signature-32bit-c-int.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
fn main() {
1818
}
1919

20-
// CHECK: define i32 @main(i32, i8**)
20+
// CHECK: define void @main(i32, i8**)

0 commit comments

Comments
 (0)