From 6aef1d687d6330fedb468e77e28940a6ea6ddb8b Mon Sep 17 00:00:00 2001 From: hyd-dev Date: Tue, 8 Jun 2021 20:36:21 +0800 Subject: [PATCH] Remove erroneous `exit()` and `ExitProcess()` in `tests/run-pass/function_calls/exported_symbol.rs` --- tests/run-pass/function_calls/exported_symbol.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/tests/run-pass/function_calls/exported_symbol.rs b/tests/run-pass/function_calls/exported_symbol.rs index 96bf8170c6eb..c141f557e1d7 100644 --- a/tests/run-pass/function_calls/exported_symbol.rs +++ b/tests/run-pass/function_calls/exported_symbol.rs @@ -15,17 +15,6 @@ fn baz() -> i32 { -3 } -// Make sure shims take precedence. -#[no_mangle] -extern "C" fn exit(_: i32) -> ! { - unreachable!() -} - -#[no_mangle] -extern "C" fn ExitProcess(_: u32) -> ! { - unreachable!() -} - fn main() { // Repeat calls to make sure the `Instance` cache is not broken. for _ in 0..3 {