You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdevelop/languages/cpp/debugger/tests/infinite_loop/infinite_loop.cpp

18 lines
144 B

int foo()
{
int i = 0;
for(;;)
{
i = i+1;
}
return i;
}
int main()
{
int r = 10;
r += foo();
return r;
}