Add missed testcase for 223215.

From-SVN: r223217
This commit is contained in:
Ilya Enkovich 2015-05-15 09:49:25 +00:00
parent 2662516181
commit 77942fbd40

View file

@ -0,0 +1,17 @@
/* { dg-do compile } */
/* { dg-options "-O2 -fcheck-pointer-bounds -mmpx -fno-tree-ccp" } */
extern int vfork (void) __attribute__ ((__nothrow__ , __leaf__));
void test1 (void);
void test2 (void);
void test3 (int *);
void test (int *p)
{
test1 ();
p++;
test2 ();
p++;
vfork ();
test3 (p);
}