Sign in
fuchsia
/
third_party
/
swift
/
refs/tags/tf-merge-2020-09-11
/
.
/
validation-test
/
Evolution
/
Inputs
/
struct_static_stored_to_computed.swift
blob: e4f312dfdbce8543e81def754ec14feec4312f28 [
file
] [
log
] [
blame
]
var
_value
:
Int
=
0
public
struct
ChangeStoredToComputed
{
public
init
()
{}
#if BEFORE
public
static
var
value
:
Int
=
0
#else
public
static
var
value
:
Int
{
get
{
return
_value
*
2
}
set
{
_value
=
newValue
/
2
}
}
#endif
}