Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
macros
/
mbe
/
macro21.rs
blob: f86ad50a924e4db1637a398ec583a103fa7a3919 [
file
]
#![
feature
(
no_core
)]
#![
no_core
]
macro_rules
!
c_fn
{
{
$name
:
ident
(
$
(
$arg_name
:
ident $arg_ty
:
ty
),*)
->
$ret_ty
:
ty
}
=>
{
fn
$name
(
$
(
$arg_name
:
$arg_ty
)*)
->
$ret_ty
;
};
}
extern
"C"
{
c_fn
!
{
puts
(
s
*
const
i8
)
->
i64
}
}