blob: c53c76deffd7bff65d3f427d366d06fd6bb18368 [file] [log] [blame]
// RUN: %target-swift-remoteast-test-with-sdk -I %S/../ClangImporter/Inputs/custom-modules -I %S/Inputs/custom-modules %s | %FileCheck %s
// REQUIRES: swift-remoteast-test
// REQUIRES: objc_interop
import Foundation
import CoreCooling
import ErrorEnums
@_silgen_name("printMetadataType")
func printType(_: Any.Type)
printType(CCRefrigerator.self)
// CHECK: found type: CCRefrigerator
printType(MyError.self)
// CHECK: found type: MyError{{$}}
printType(MyError.Code.self)
// CHECK: found type: MyError.Code{{$}}
printType(RenamedError.self)
// CHECK: found type: RenamedError{{$}}
printType(RenamedError.Code.self)
// CHECK: found type: RenamedError.Code{{$}}
printType(Wrapper.MemberEnum.self)
// CHECK: found type: Wrapper.MemberEnum{{$}}
printType(WrapperByAttribute.self)
// CHECK: found type: WrapperByAttribute{{$}}