summaryrefslogtreecommitdiffstats
path: root/tests/ui/attributes/obsolete-attr.rs
blob: 7019abcaffbae02cd67cd5b2d9bf6153b16ead39 (plain)
1
2
3
4
5
6
7
8
9
// 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() {}