blob: 14a16228168eebc92e1374b6e5506b4f90a931e9 [file] [log] [blame]
// RUN: test.sh -e -t %t %s
//
// TEST: buffer-001
//
// Description:
// Test that an off-by-one read on a global is detected.
//
#include <stdio.h>
#include <stdlib.h>
static char array[1024];
int
main (int argc, char ** argv) {
int value = array[1024];
printf("the value is %d\n", value);
return 0;
}