blob: 3993e18e0e7d1b02a6f27167966684c1adc91eeb [file] [log] [blame]
// RUN: test.sh -e -t %t %s
//
// TEST: buffer-003
//
// Description:
// Test that an off-by-one read on a global is detected.
//
#include <stdio.h>
#include <stdlib.h>
int
main (int argc, char ** argv) {
char array[1024];
return array[1024];
}