mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-07-23 05:23:59 +00:00
Rebrand to XenonRecomp.
This commit is contained in:
15
tests/XenonAnalyse/loop.cpp
Normal file
15
tests/XenonAnalyse/loop.cpp
Normal file
@@ -0,0 +1,15 @@
|
||||
int loop(int a)
|
||||
{
|
||||
int result = 0;
|
||||
for (int i = 0; i < a; i++)
|
||||
{
|
||||
result = result * 31 + i;
|
||||
result *= result;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
extern "C" int _start()
|
||||
{
|
||||
return loop(30);
|
||||
}
|
Reference in New Issue
Block a user