Sign in
◑
Theme
gnu
/
gcc.git
/
bb5c3bfcb28b423544676b30df5a3bc97e91c41f
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
non_foreign_variadic_function.rs
blob: b54deac0275c3e01359fbdcff6085c442205108b [
file
]
#![
feature
(
no_core
)]
#![
no_core
]
pub
fn
toto
(
a
:
i32
,
...)
{}
// { dg-error "only foreign or .unsafe extern .C.. functions may be C-variadic" "" { target *-*-* } .-1 }
fn
main
()
{}