Debian Codegraph @

gcc/testsuite/rust/compile/abi-vardaic.rs

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 }