mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
seem to be simply duplication of the x86 instruction set tests into the addrcheck and helgrind trees. I'm not sure what this duplication achieves. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3264
16 lines
187 B
C
16 lines
187 B
C
#include "../memcheck.h"
|
|
#include <stdlib.h>
|
|
|
|
int main()
|
|
{
|
|
register char *foo /* asm("esi") */;
|
|
|
|
foo = malloc(10); /* not leaked */
|
|
|
|
VALGRIND_DO_LEAK_CHECK;
|
|
|
|
free(foo);
|
|
|
|
return 0;
|
|
}
|