/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1999-2011 AT&T Intellectual Property *
* and is licensed under the *
* Eclipse Public License, Version 1.0 *
* by AT&T Intellectual Property *
* *
* A copy of the License is available at *
* (with md5 checksum b35adb5213ca9657e911e9befb180842) *
* *
* Information and Software Systems Research *
* AT&T Research *
* Florham Park NJ *
* *
* Glenn Fowler <gsf@research.att.com> *
* *
***********************************************************************/
#include "vmtest.h"
int Release = 0;
#if __STD_C
#else
#endif
{
if(caddr)
{ if(newsize != 0)
Release += 1;
return caddr;
}
}
tmain()
{
int i;
terror("Can't open");
for(i = 0; i < 10; ++i)
terror("Unaligned addr");
}
for(i = 0; i < 10; ++i)
terror("can't free an element?");
terror("Can't alloc");
for(i = 0; i < 10; ++i)
terror("Location should not have changed");
#ifdef DEBUG
for(i = 0; i < 10; ++i)
#endif
texit(0);
}