File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 11// RUN: %empty-directory(%t)
2- // RUN: %target-build-swift -O %s -o %t/a.out
2+ // RUN: %target-build-swift -target %target-future-triple - O %s -o %t/a.out
33// RUN: %target-run %t/a.out | %FileCheck %s
44
55// REQUIRES: executable_test,swift_stdlib_no_asserts,optimized_stdlib
66// REQUIRES: objc_interop
7+ // REQUIRES: macos_min_version_13
78
89// UNSUPPORTED: use_os_stdlib
910
Original file line number Diff line number Diff line change @@ -1382,6 +1382,9 @@ if run_vendor == 'apple':
13821382 (sw_vers_name , sw_vers_vers , sw_vers_build ) = \
13831383 darwin_get_sw_vers ()
13841384
1385+ if re .match ('^(1[3-9]|[2-9])' , sw_vers_vers ):
1386+ config .available_features .add ('macos_min_version_13' )
1387+
13851388 else :
13861389 lit_config .fatal ("Unknown Apple OS '" + run_os + "' " +
13871390 "(from " + config .variant_triple + ")" )
You can’t perform that action at this time.
0 commit comments