mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
e15f67e453
Fixes the crash in SR-8540 / rdar://problem/43383512.
8 lines
276 B
Swift
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 { }
|