mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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.
8 lines
82 B
Swift
8 lines
82 B
Swift
public protocol Hello {
|
|
func hello()
|
|
}
|
|
|
|
open class Super {
|
|
public init() {}
|
|
}
|