mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
10 lines
278 B
Rust
10 lines
278 B
Rust
// Obsolete attributes fall back to unstable custom attributes.
|
|
|
|
#[ab_isize = "stdcall"] extern "C" {}
|
|
//~^ ERROR cannot find attribute `ab_isize` in this scope
|
|
|
|
#[fixed_stack_segment] fn f() {}
|
|
//~^ ERROR cannot find attribute `fixed_stack_segment` in this scope
|
|
|
|
fn main() {}
|