mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
13 lines
463 B
Plaintext
13 lines
463 B
Plaintext
// swift-interface-format-version: 1.0
|
|
// swift-module-flags: -module-name ConformanceMacroLib
|
|
|
|
@attached(conformance)
|
|
public macro Equatable() = #externalMacro(module: "MacroDefinition", type: "EquatableMacro")
|
|
|
|
#if compiler(>=5.3) && $Macros && $AttachedMacros && $ExtensionMacros
|
|
#if $ExtensionMacroAttr
|
|
@attached(extension, conformances: Swift.Hashable)
|
|
public macro Hashable() = #externalMacro(module: "MacroDefinition", type: "HashableMacro")
|
|
#endif
|
|
#endif
|