ultimatepp/uppdev/Leaks/Leaks.cpp
cxl 4a1c627474 Adding uppdev....
git-svn-id: svn://ultimatepp.org/upp/trunk@328 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-08-15 08:36:24 +00:00

17 lines
229 B
C++

#include <Core/Core.h>
using namespace Upp;
CONSOLE_APP_MAIN
{
// MemoryAlloc(123);
for(int i = 0; i < 500; i++) {
size_t n = i;
// MemoryAllocSz(n);
DUMP(i);
DUMP(n);
ASSERT(i <= n);
}
new int;
}