2024-02-21 06:37:58 -06:00
|
|
|
//@ pretty-compare-only
|
|
|
|
//@ pretty-mode:hir
|
|
|
|
//@ pp-exact:hir-fn-variadic.pp
|
2023-10-24 18:05:26 -05:00
|
|
|
|
|
|
|
#![feature(c_variadic)]
|
|
|
|
#[prelude_import]
|
|
|
|
use ::std::prelude::rust_2015::*;
|
|
|
|
#[macro_use]
|
|
|
|
extern crate std;
|
|
|
|
|
|
|
|
extern "C" {
|
2023-10-25 10:44:17 -05:00
|
|
|
fn foo(x: i32, va1: ...);
|
2023-10-24 18:05:26 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
unsafe extern "C" fn bar(_: i32, mut va2: ...) -> usize { va2.arg::<usize>() }
|