diff --git a/lldb/test/API/lang/swift/playgrounds/Contents.swift b/lldb/test/API/lang/swift/playgrounds/Contents.swift index f16f4327d4582..c0dee1b8c8a08 100644 --- a/lldb/test/API/lang/swift/playgrounds/Contents.swift +++ b/lldb/test/API/lang/swift/playgrounds/Contents.swift @@ -17,7 +17,7 @@ let b = 5 a + b -@available(macOS 10.11, iOS 8.0, tvOS 8.0, watchOS 6.0, *) func newAPI() -> Int { +@available(macOS 11.1, iOS 8.0, tvOS 8.0, watchOS 6.0, *) func newAPI() -> Int { return 11 } diff --git a/lldb/test/API/lang/swift/playgrounds/TestPlaygrounds.py b/lldb/test/API/lang/swift/playgrounds/TestPlaygrounds.py index a071138cd382f..5e7a77207e10d 100644 --- a/lldb/test/API/lang/swift/playgrounds/TestPlaygrounds.py +++ b/lldb/test/API/lang/swift/playgrounds/TestPlaygrounds.py @@ -53,7 +53,7 @@ def get_build_triple(self): version = '7.0' triple = '{}-{}-{}{}'.format(arch, vendor, os, version) else: - triple = '{}-apple-macosx10.10'.format(platform.machine()) + triple = '{}-apple-macosx11.0'.format(platform.machine()) return triple def get_run_triple(self):