blob: eae57334c7dc2e8e118df9fd79165bdc0b22ef46 [file] [log] [blame]
// RUN: %target-sil-opt %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>
}