☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
abi-vardaic.rs
☽
☼
gcc/testsuite/rust/compile/abi-vardaic.rs
code
plain
raw
1
// https://doc.rust-lang.org/error_codes/E0045.html
2
#![allow(unused)]
3
fn main() {
4
extern "Rust" {
5
fn foo(x: u8, ...); // { dg-error "C-variadic function must have C or cdecl calling convention" }
6
}
7
}