blob: 3e1cb6517f5b1899d54cc2a94cca1bb97a0c6e72 [file] [log] [blame]
// RUN: %empty-directory(%t)
// RUN: %target-swift-frontend -typecheck %s -parse-as-library -emit-objc-header-path %t/swift.h
// RUN: %FileCheck %s < %t/swift.h
// REQUIRES: objc_interop
import Foundation
// CHECK: @import Dispatch;
// CHECK-LABEL: @interface Test : NSObject{{$}}
public class Test : NSObject {
// CHECK-NEXT: - (void)thank:(dispatch_queue_t _Nonnull)queue;
@objc public func thank(_ queue: DispatchQueue) {}
// CHECK-NEXT: init
} // CHECK-NEXT: @end