blob: 23513d6ed29aefc6bcc23257e303824ccc41651d [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)
@_silgen_name("stopRemoteAST")
func stopRemoteAST()
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{{$}}
stopRemoteAST()