rust/tests/ui/linkage-attr/incompatible-flavor.rs
2024-02-16 20:02:50 +00:00

7 lines
234 B
Rust

//@ 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]