// RUN: %empty-directory(%t) // RUN: %target-swift-emit-module-interface(%t/LayoutPrespec.swiftinterface) %s -module-name LayoutPrespec -disable-availability-checking // RUN: %target-swift-typecheck-module-from-interface(%t/LayoutPrespec.swiftinterface) -module-name LayoutPrespec -disable-availability-checking // RUN: %target-swift-typecheck-module-from-interface(%t/LayoutPrespec.swiftinterface) -module-name LayoutPrespec -disable-availability-checking // RUN: %FileCheck %s < %t/LayoutPrespec.swiftinterface // CHECK: @_specialize(exported: true, kind: full, where @_noMetadata A : _Class) // CHECK-NEXT: public func test(a: A) -> A @_specialize(exported: true, where @_noMetadata A : _Class) public func test(a: A) -> A { return a }