mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-19 03:54:40 +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() {}
|