Skip to content

Commit dc0b1fa

Browse files
committed
Add address space size limit regression test
1 parent 49c4b3a commit dc0b1fa

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
#include <stdlib.h>
3+
#include <assert.h>
4+
5+
int main(int argc, char** argv)
6+
{
7+
8+
int i;
9+
char* c;
10+
for(i=0; i<300; ++i)
11+
{
12+
c=(char*)malloc(1);
13+
assert(c!=(char*)0);
14+
}
15+
16+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
CORE
2+
test.c
3+
--no-simplify --unwind 300
4+
too many variables
5+
--

0 commit comments

Comments
 (0)