Sign in
fuchsia
/
third_party
/
swift
/
refs/tags/swift-DEVELOPMENT-SNAPSHOT-2016-03-16-a
/
.
/
pext.swift
blob: 8b5a57990c06c9a56cfbc019ce9e115df17d4787 [
file
] [
log
] [
blame
]
protocol P
{
}
protocol Q
:
P
{
static
var
x
:
Int
{
get
set
}
}
extension P
{
static
var
x
:
Int
{
get
{
return
0
}
set
{
}
}
}
func foo
(
inout x
:
Int
)
{}
struct
S
:
Q
{}
func f
()
{
foo
(&
S
.
x
)
}