1 #![cfg_attr(target_arch = "x86", feature(raw_dylib))]
4 //~^ ERROR attribute should be applied to a foreign function or static
8 //~^ ERROR attribute should be applied to a foreign function or static
12 //~^ ERROR attribute should be applied to a foreign function or static
13 static mut imported_val: i32 = 123;
15 #[link(name = "exporter", kind = "raw-dylib")]
18 fn imported_function();
21 static mut imported_variable: i32;