mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
14 lines
593 B
Plaintext
14 lines
593 B
Plaintext
// RUN: %target-sil-opt -assume-parsing-unqualified-ownership-sil %s | %FileCheck %s
|
|
|
|
@available(*,unavailable,message: "it has been renamed")
|
|
public struct mmConstUnsafePointer<T> {
|
|
}
|
|
|
|
// CHECK-LABEL: sil hidden @test : $@convention(thin) <T> (@thin mmConstUnsafePointer<T>.Type) -> mmConstUnsafePointer<T> {
|
|
// CHECK: struct $mmConstUnsafePointer<T> ()
|
|
sil hidden @test : $@convention(thin) <T> (@thin mmConstUnsafePointer<T>.Type) -> mmConstUnsafePointer<T> {
|
|
bb0(%0 : $@thin mmConstUnsafePointer<T>.Type):
|
|
%1 = struct $mmConstUnsafePointer<T> ()
|
|
return %1 : $mmConstUnsafePointer<T>
|
|
}
|