blob: a41143fdc031a6c959c74a2b0a79a0e5858d1902 [file]
//@ run-pass
//@aux-build:macro_export_inner_module.rs
#![warn(no_link_attributes)]
#[macro_use] #[no_link]
//~^ WARN use of deprecated `no_link` attribute
//~| WARN this was previously accepted by the compiler
extern crate macro_export_inner_module;
pub fn main() {
assert_eq!(1, foo!());
}