about summary refs log tree commit diff
path: root/tests/run/empty_main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run/empty_main.rs')
-rw-r--r--tests/run/empty_main.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/run/empty_main.rs b/tests/run/empty_main.rs
index c4a24e9b185..fe3df5a2389 100644
--- a/tests/run/empty_main.rs
+++ b/tests/run/empty_main.rs
@@ -3,14 +3,15 @@
 // Run-time:
 //   status: 0
 
-#![feature(no_core, start)]
+#![feature(no_core)]
 #![no_std]
 #![no_core]
+#![no_main]
 
 extern crate mini_core;
 use mini_core::*;
 
-#[start]
-fn main(_argc: isize, _argv: *const *const u8) -> isize {
+#[no_mangle]
+extern "C" fn main(argc: i32, _argv: *const *const u8) -> i32 {
     0
 }