Files
swift-mirror/test/SILOptimizer/Inputs/pre_specialized_module2.swift
Ben Langmuir fd1875dcfb [test] Move availability tests to later fake OS versions
10.50 was once greater than any real macOS version, but now it compares
less than real released versions, which makes these tests depend on the
deployment target unnecessarily. Update these tests to use even larger
numbers to hopefully keep them independent a little longer.
2024-08-21 11:38:54 -07:00

11 lines
271 B
Swift

import pre_specialized_module
@frozen
public struct SomeOtherData {
public init() {}
}
@_specialize(exported: true, target: publicPrespecialized2(_:), availability: macOS 50, *; where T == SomeOtherData)
public func pre_specialize_publicPrespecialized<T>(_ t: T) {
}