mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 17:13:48 +00:00
15 lines
831 B
Rust
15 lines
831 B
Rust
|
fn main() {
|
||
|
cfg!(target_has_atomic_load_store = "8");
|
||
|
//~^ ERROR `cfg(target_has_atomic_load_store)` is experimental and subject to change
|
||
|
cfg!(target_has_atomic_load_store = "16");
|
||
|
//~^ ERROR `cfg(target_has_atomic_load_store)` is experimental and subject to change
|
||
|
cfg!(target_has_atomic_load_store = "32");
|
||
|
//~^ ERROR `cfg(target_has_atomic_load_store)` is experimental and subject to change
|
||
|
cfg!(target_has_atomic_load_store = "64");
|
||
|
//~^ ERROR `cfg(target_has_atomic_load_store)` is experimental and subject to change
|
||
|
cfg!(target_has_atomic_load_store = "128");
|
||
|
//~^ ERROR `cfg(target_has_atomic_load_store)` is experimental and subject to change
|
||
|
cfg!(target_has_atomic_load_store = "ptr");
|
||
|
//~^ ERROR `cfg(target_has_atomic_load_store)` is experimental and subject to change
|
||
|
}
|