Remove erroneous exit() and ExitProcess() in tests/run-pass/function_calls/exported_symbol.rs
This commit is contained in:
parent
83dd2d7b1f
commit
6aef1d687d
1 changed files with 0 additions and 11 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue