rust/tests/ui/linkage-attr/incompatible-flavor.rs

7 lines
231 B
Rust
Raw Normal View History

// compile-flags: --target=x86_64-unknown-linux-gnu -C linker-flavor=msvc --crate-type=rlib
// error-pattern: linker flavor `msvc` is incompatible with the current target
// needs-llvm-components:
#![feature(no_core)]
#![no_core]