summaryrefslogtreecommitdiff
path: root/regress/gnu/egcs/gcc-bounds/vararray-1.c
blob: 133979e3fdd64dfc7817d693ed5094a78683ba42 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* gcc used to barf on this with a 'not 8-byte aligned' error 
 * while correct behaviour is to ignore it */

#include <stdio.h>
#include <string.h>

int main(int argc, char **argv) {
	int sample_buffer[10][argc+10];
	memset(sample_buffer, 0, sizeof(sample_buffer));
	return 1;
}