blob: efb2754df623002afdfa81a0b5ba7ea83c324b0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// pretty-compare-only
// pretty-mode:hir
// pp-exact:hir-fn-variadic.pp
#![feature(c_variadic)]
extern "C" {
pub fn foo(x: i32, va1: ...);
}
pub unsafe extern "C" fn bar(_: i32, mut va2: ...) -> usize {
va2.arg::<usize>()
}
|