Nicholas Nethercote afebe61b37 Files updated, added and removed in order to turn the ERASER branch into HEAD
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1086
2002-09-23 09:36:25 +00:00

29 lines
384 B
C

#include <stdio.h>
#include <malloc.h>
int gcc_cant_inline_me ( int );
int main ()
{
int *x, y;
x = (int *) malloc (sizeof (int));
y = *x == 173;
if (gcc_cant_inline_me(y)) { }
return 0;
}
/* must be AFTER main */
int gcc_cant_inline_me ( int n )
{
if (n == 42)
return 1; /* forty-two, dudes! */
else
return 0; /* some other number, dudes! */
}