Sign in
fuchsia
/
third_party
/
swift
/
1862c95a58d6461091e849224696b3e35cd13dcf
/
.
/
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
)
{
}