Files
swift-mirror/test/multifile/objc-protocol.swift
Doug Gregor e15f67e453 [Type checker] Marking a class as @objc doesn’t require an interface type.
Fixes the crash in SR-8540 / rdar://problem/43383512.
2018-08-20 10:05:13 -07:00

8 lines
276 B
Swift

// RUN: %target-swift-frontend -module-name test -emit-ir -primary-file %s %S/Inputs/objc-protocol-other.swift -import-objc-header %S/Inputs/objc-protocol-bridging.h -sdk %sdk -o %t.o
// REQUIRES: objc_interop
import Foundation
@objc class Foo : NSObject, ObjCProtocol { }