rust/tests/ui/rfc-2091-track-caller/error-with-invalid-abi.rs
2023-01-11 09:32:08 +00:00

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() {}