os-rust/tests/ui/attributes/obsolete-attr.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
278 B
Rust
Raw Normal View History

2019-09-08 09:34:24 +08:00
// Obsolete attributes fall back to unstable custom attributes.
2013-11-06 15:30:19 +09:00
2020-09-01 17:12:52 -04:00
#[ab_isize = "stdcall"] extern "C" {}
//~^ ERROR cannot find attribute `ab_isize` in this scope
2013-11-06 15:30:19 +09:00
#[fixed_stack_segment] fn f() {}
//~^ ERROR cannot find attribute `fixed_stack_segment` in this scope
2013-11-25 23:17:01 +09:00
2013-11-06 15:30:19 +09:00
fn main() {}