[ASTGen] Generate '@_spi_available' attribute

This commit is contained in:
Rintaro Ishizaki
2025-03-15 18:23:18 -07:00
parent d300679aab
commit 7add493002
5 changed files with 30 additions and 15 deletions

View File

@@ -62,3 +62,8 @@ func testPoundIf() {
// pass
}
}
public class ClassWithMembers {
@_spi_available(macOS 10.15, *)
public func spiFunc() {}
}