mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This isn't an officially supported configuration, but is useful for testing and runtime development, and we shouldn't crash.
6 lines
129 B
Swift
6 lines
129 B
Swift
// RUN: %target-swift-emit-silgen -disable-availability-checking %s -verify
|
|
|
|
func foo() {
|
|
if #available(macOS 10.15, *) {}
|
|
}
|