Sign in
fuchsia
/
third_party
/
swift
/
115f7a43e006a33e81039ca67932db42fcb16b64
/
.
/
test
/
Serialization
/
Inputs
/
struct_with_operators.swift
blob: a796fdf11adb2f406be29fb161339fc375e202a2 [
file
] [
log
] [
blame
]
public
struct
SpecialInt
{
public
var
value
=
0
public
init
()
{}
}
prefix
operator
+++
postfix
operator
+++
prefix
public
func
+++(
base
:
inout
SpecialInt
)
{
base
.
value
+=
2
}
postfix
public
func
+++(
base
:
inout
SpecialInt
)
{
}