]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2627-raw-dylib/import-name-type-unknown-value.rs
Auto merge of #100395 - Dylan-DPC:rollup-ajrwo1s, r=Dylan-DPC
[rust.git] / src / test / ui / rfc-2627-raw-dylib / import-name-type-unknown-value.rs
1 // only-windows
2 // only-x86
3 #![feature(raw_dylib)]
4 //~^ WARN the feature `raw_dylib` is incomplete
5
6 #[link(name = "foo", kind = "raw-dylib", import_name_type = "unknown")]
7 //~^ ERROR unknown import name type `unknown`, expected one of: decorated, noprefix, undecorated
8 extern "C" { }
9
10 fn main() {}