Rivoreo Source Code Repositories
src.rivoreo.one
/
compiler-explorer
/
63311fac113a659ea1e9629dcd82e42ef2b4b65a
/
.
/
test
/
filters-cases
/
arm-moose-example.cpp
blob: 00ad4d29d8b983c09d4682bd767d4780e713bc4c [
file
] [
log
] [
blame
] [
raw
]
// compile flags:
// [arm] cl /O2 /FA /c arm-moose-example.cpp /Faarm-moose.asm
extern
"C"
{
static
int
thing
(
int
a
)
{
return
a
*
a
;
}
int
moose
(
int
x
,
int
y
)
{
int
foo
=
1
;
for
(
int
i
=
0
;
i
<
y
;
++
i
)
{
foo
+=
thing
(
x
);
}
return
foo
;
}
}