mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 11:48:30 +00:00

expands some conditionals to include different "rustic" ABIs, so that we actually handle passing args through all "rustic" ABIs
7 lines
295 B
Rust
7 lines
295 B
Rust
//@build-pass
|
|
//@compile-flags: -Clink-dead-code=true --crate-type lib
|
|
// We used to not handle all "rustic" ABIs in a (relatively) uniform way,
|
|
// so we failed to fix up arguments for actually passing through the ABI...
|
|
#![feature(rust_cold_cc)]
|
|
pub extern "rust-cold" fn foo(_: [usize; 3]) {}
|