aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.7/libmudflap/testsuite/libmudflap.c/pass11-frag.c
blob: ab7ee38c4f8b4757d7f8621791e92ad5aec80469 (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;
char *x = (char *) malloc (i * sizeof (char));

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