Files
swift-mirror/test/multifile/Inputs/protocol-conformance-redundant-ext.swift
Alastair Houghton c995942000 Add a test for redundant protocol conformance.
Added a test that builds two dynamic libraries and sets up a redundant protocol
conformance (we use dynamic libraries because the compiler will normally reject
redundant conformances), then checks that when we rely on it, we get a warning
message.
2021-06-18 10:06:20 +01:00

8 lines
87 B
Swift

import Def
extension Super : Hello {
public func hello() {
print("Hello")
}
}