mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[ASTGen] Generate '@_spi_available' attribute
This commit is contained in:
@@ -62,3 +62,8 @@ func testPoundIf() {
|
||||
// pass
|
||||
}
|
||||
}
|
||||
|
||||
public class ClassWithMembers {
|
||||
@_spi_available(macOS 10.15, *)
|
||||
public func spiFunc() {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user