rust/tests/ui/feature-gates/feature-gate-cfg-relocation-model.rs
Luca Barbato c0394c8ac0 Add the relocation_model to the cfg
This way is possible to write inline assembly code aware of it.
2023-08-18 19:57:28 +02:00

5 lines
70 B
Rust

#[cfg(relocation_model = "pic")] //~ ERROR
fn _foo() {}
fn main() {}