1 // only-i686-pc-windows-msvc
2 // compile-flags: --crate-type lib --emit link
3 #![allow(clashing_extern_declarations)]
5 //~^ WARN the feature `raw_dylib` is incomplete
6 #[link(name = "foo", kind = "raw-dylib")]
12 #[link(name = "foo", kind = "raw-dylib")]
15 //~^ ERROR multiple declarations of external function `f` from library `foo.dll` have different calling conventions