mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
47293c1234
This check was previously only performed on functions not function pointers. Co-authored-by: Folkert <folkert@folkertdev.nl>
10 lines
147 B
Rust
10 lines
147 B
Rust
//@ only-arm
|
|
//@ build-pass
|
|
#![feature(extended_varargs_abi_support)]
|
|
|
|
fn aapcs(f: extern "aapcs" fn(usize, ...)) {
|
|
f(22, 44);
|
|
}
|
|
|
|
fn main() {}
|