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