rust/tests/ui/print-request/macos-target.rs

8 lines
280 B
Rust

//@ only-apple
//@ compile-flags: --print deployment-target
//@ normalize-stdout: "\w*_DEPLOYMENT_TARGET" -> "$$OS_DEPLOYMENT_TARGET"
//@ normalize-stdout: "\d+\." -> "$$CURRENT_MAJOR_VERSION."
//@ normalize-stdout: "\d+" -> "$$CURRENT_MINOR_VERSION"
//@ check-pass
fn main() {}