2 // aux-build:attributes-on-definitions.rs
4 #![forbid(unsafe_code)]
6 extern crate attributes_on_definitions;
8 attributes_on_definitions::with_attrs!();
9 //~^ WARN use of deprecated
10 // No errors about the use of unstable and unsafe code inside the macro.