Tests: Added 'TestBufferOverrun5'

This commit is contained in:
Daniel Marjamäki 2007-05-21 18:04:19 +00:00
parent 45c5871503
commit ac3073e9fd
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1 @@
[testbufferoverrun5\testbufferoverrun5.cpp:8]: Array index out of bounds

View File

@ -0,0 +1,11 @@
const int SIZE = 10;
void f()
{
int i[SIZE];
i[SIZE] = 0;
}