summaryrefslogtreecommitdiff
path: root/tests/ui/deployment-target/macos-target.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/deployment-target/macos-target.rs')
-rw-r--r--tests/ui/deployment-target/macos-target.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ui/deployment-target/macos-target.rs b/tests/ui/deployment-target/macos-target.rs
new file mode 100644
index 00000000000..701ccf4799a
--- /dev/null
+++ b/tests/ui/deployment-target/macos-target.rs
@@ -0,0 +1,7 @@
+// only-macos
+// compile-flags: --print deployment-target
+// normalize-stdout-test: "\d+\." -> "$$CURRENT_MAJOR_VERSION."
+// normalize-stdout-test: "\d+" -> "$$CURRENT_MINOR_VERSION"
+// check-pass
+
+fn main() {}