mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
10 lines
336 B
Swift
10 lines
336 B
Swift
// RUN: %target-swift-emit-silgen -enable-objc-interop -disable-objc-attr-requires-foundation-module -enable-library-evolution %s | %FileCheck %s --check-prefix=CHECK
|
|
|
|
// @objc protocols don't need default witness tables
|
|
@objc public protocol ObjCProtocol {
|
|
func f()
|
|
func g()
|
|
}
|
|
|
|
// CHECK-NOT: sil_default_witness_table ObjCProtocol
|