Gitiles
Code Review
Sign In
android-review.linaro.org
/
platform
/
external
/
swig
/
refs/heads/main
/
.
/
Examples
/
test-suite
/
octave
/
inplaceadd_runme.m
blob: 50b680aba88cf28501401712c989be264c5cb274 [
file
] [
log
] [
blame
]
inplaceadd
a
=
inplaceadd
.
A
(
7
);
a
+=
5
;
if
(
a
.
val
!=
12
)
error
(
"failed"
);
endif
a
-=
5
;
if
a
.
val
!=
7
:
error
(
"failed"
);
endif
a
*=
2
;
if
(
a
.
val
!=
14
)
error
(
"failed"
);
endif
a
+=
a
;
if
(
a
.
val
!=
28
)
error
(
"failed"
);
endif