rust/tests/ui/rfcs/rfc-2091-track-caller/error-with-invalid-abi.rs

12 lines
199 B
Rust

#[track_caller]
extern "C" fn f() {}
//~^^ ERROR `#[track_caller]` requires Rust ABI
extern "C" {
#[track_caller]
fn g();
//~^^ ERROR `#[track_caller]` requires Rust ABI
}
fn main() {}