From 267800a7c0834dd8ca93a82a20cb0cdd9e7dc025 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Thu, 21 Dec 2017 16:37:14 +0100 Subject: [PATCH] New generated main returns void --- src/test/codegen/abi-main-signature-16bit-c-int.rs | 2 +- src/test/codegen/abi-main-signature-32bit-c-int.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/codegen/abi-main-signature-16bit-c-int.rs b/src/test/codegen/abi-main-signature-16bit-c-int.rs index fbe2fd10e7a14..55863ab163314 100644 --- a/src/test/codegen/abi-main-signature-16bit-c-int.rs +++ b/src/test/codegen/abi-main-signature-16bit-c-int.rs @@ -29,4 +29,4 @@ fn main() { } -// CHECK: define i16 @main(i16, i8**) +// CHECK: define void @main(i16, i8**) diff --git a/src/test/codegen/abi-main-signature-32bit-c-int.rs b/src/test/codegen/abi-main-signature-32bit-c-int.rs index 3139749dfcb06..d7c70354ee0cc 100644 --- a/src/test/codegen/abi-main-signature-32bit-c-int.rs +++ b/src/test/codegen/abi-main-signature-32bit-c-int.rs @@ -17,4 +17,4 @@ fn main() { } -// CHECK: define i32 @main(i32, i8**) +// CHECK: define void @main(i32, i8**)