about summary refs log tree commit diff
path: root/tests/ui/target-feature/target-cpu-lacks-required-target-feature.rs
blob: be6cd2b6faf8a4f2a740d9a88958dcad4ec85998 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//@ compile-flags: --target=i686-unknown-linux-gnu --crate-type=lib
//@ needs-llvm-components: x86
//@ compile-flags: -Ctarget-cpu=pentium
// For now this is just a warning.
//@ build-pass

#![feature(no_core, lang_items)]
#![no_core]

#[lang = "sized"]
pub trait Sized {}

//~? WARN target feature `sse2` must be enabled to ensure that the ABI of the current target can be implemented correctly