mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
These can be recreated if needed in a client library. To do this, I've added a new ConformanceLookupKind::NonInherited, which can also be used elsewhere in the project where we're already filtering out inherited conformances some other way. Note that this doesn't drop inherited conformances from the entire serialized interface, just from the list that a class explicitly declares. They still get referenced sometimes. rdar://problem/50541451 and possibly others
10 lines
407 B
Swift
10 lines
407 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %target-build-swift -emit-module -emit-module-path %t/SwiftLib.swiftmodule -I %S/Inputs/conformance-removed/ %S/Inputs/conformance-removed/SwiftLib.swift -Xcc -DUSE_PROTO
|
|
// RUN: not grep SomeProto %t/SwiftLib.swiftmodule
|
|
// RUN: %target-build-swift -typecheck -I %t -I %S/Inputs/custom-modules/ %s
|
|
|
|
// REQUIRES: objc_interop
|
|
|
|
import SwiftLib
|
|
class Rdar28282310: Sub {}
|