summaryrefslogtreecommitdiff
path: root/libmudflap/testsuite/libmudflap.c/pass21-frag.c
blob: 231055a236f19cb18ada5fdc868ffd91614e22cc (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>
#ifndef __FreeBSD__
#include <alloca.h>
#endif
int main ()
{
char *boo, *foo;
boo = (char *) alloca (100);
boo[99] = 'a';
foo = (char *) __builtin_alloca (200);
foo[44] = 'b';
return 0;
}