Skip to content

Commit

Permalink
[clang][test] NFC, check in darwin-ld-platform-version-macos-requires…
Browse files Browse the repository at this point in the history
…-darwin.c should be more permissive

some Darwin CI uses older SDK that reports different SDK version here
https://green.lab.llvm.org/green/job/clang-stage1-RA/
  • Loading branch information
hyp committed Oct 12, 2022
1 parent 2966acd commit 2498964
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

// RUN: %clang -fuse-ld= -arch arm64 -mlinker-version=520 -isysroot %t/MacOSX12.sdk/does-not-exist -### %t/f.o 2>&1 | FileCheck %s

// CHECK: "-platform_version" "macos" "[[NUMBER:[0-9]+]].0.0" "[[NUMBER]].0"
// CHECK: "-platform_version" "macos" "{{[0-9]+}}.0.0" "{{[0-9]+}}.{{[0-9]+}}"

// REQUIRES: system-darwin

0 comments on commit 2498964

Please sign in to comment.