aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.7/libmudflap/testsuite/libmudflap.c/pass12-frag.c
blob: 53630d9971d6b0f185d07b8e9157b01f1371cab3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main ()
{
int i = 10;
int *x = (int *) malloc (i * sizeof (int));

while (--i)
{
  ++x;
  *x = 0;
}
return 0;
}