Sign in
fuchsia
/
third_party
/
swift
/
f2cf0510d6e25911e9babada46e0025862bd00cd
/
.
/
test
/
SILGen
/
internal_protocol_refines_public_protocol_with_public_default_implementation.swift
blob: 53ecd04b9d6f5fdcf960c299c057d6d81d93d316 [
file
] [
log
] [
blame
]
// RUN: %target-swift-emit-silgen -verify %s
public
protocol A
{
@_borrowed
subscript
()
->
Int
{
get
}
}
protocol B
:
A
{
}
extension B
{
public
subscript
()
->
Int
{
return
0
}
}
public
struct
S
:
B
{
}