4 //~^ WARN the feature `raw_dylib` is incomplete
6 #[link(name = "foo", import_name_type = "decorated")]
7 //~^ ERROR import name type can only be used with link kind `raw-dylib`
10 #[link(name = "bar", kind = "static", import_name_type = "decorated")]
11 //~^ ERROR import name type can only be used with link kind `raw-dylib`
14 // Specifying `import_name_type` before `kind` shouldn't raise an error.
15 #[link(name = "bar", import_name_type = "decorated", kind = "raw-dylib")]