rust/tests/ui/abi/relocation_model_pic.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

10 lines
179 B
Rust

// run-pass
// compile-flags: -C relocation-model=pic
// ignore-emscripten no pic
// ignore-wasm
#![feature(cfg_relocation_model)]
#[cfg(relocation_model = "pic")]
fn main() {}