mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 20:47:44 +00:00
18 lines
226 B
C++
18 lines
226 B
C++
static short gLook = 0;
|
|
|
|
static int add( int a, int b)
|
|
{
|
|
return a + b;
|
|
}
|
|
|
|
long main( void )
|
|
{
|
|
long retVal = 0;
|
|
for (int i=0; i<100; i++)
|
|
{
|
|
retVal = add( retVal, i) + gLook;
|
|
}
|
|
|
|
return retVal;
|
|
}
|