Add address space size limit regression test

This commit is contained in:
Chris Smowton 2017-01-25 11:48:53 +00:00
parent 49c4b3ac06
commit dc0b1fa75f
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,16 @@
#include <stdlib.h>
#include <assert.h>
int main(int argc, char** argv)
{
int i;
char* c;
for(i=0; i<300; ++i)
{
c=(char*)malloc(1);
assert(c!=(char*)0);
}
}

View File

@ -0,0 +1,5 @@
CORE
test.c
--no-simplify --unwind 300
too many variables
--