Remove erroneous exit() and ExitProcess() in tests/run-pass/function_calls/exported_symbol.rs

This commit is contained in:
hyd-dev 2021-06-08 20:36:21 +08:00
parent 83dd2d7b1f
commit 6aef1d687d
No known key found for this signature in database
GPG key ID: 74FA7FD5B8DA14B8

View file

@ -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 {