Files
swift-mirror/validation-test/Serialization/conformance-removed.swift
Jordan Rose c506747a9c [Serialization] Drop inherited conformances on classes (#23347)
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
2019-05-13 13:41:10 -07:00

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 {}