mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
9 lines
321 B
Swift
9 lines
321 B
Swift
// {"signature":"swift::ProtocolConformanceRef::getProtocol() const"}
|
|
// RUN: not %target-swift-frontend -typecheck %s
|
|
func a<each b {
|
|
enum c {
|
|
case struct var d: e struct e {
|
|
g: c }
|
|
f {
|
|
d.g == .struct
|