blob: 3b129862aa958a1ad5a892309c54434f94894780 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* { dg-error "-fcheck-pointer-bounds is not supported with Address Sanitizer" } */
/* { dg-do compile { target { ! x32 } } } */
/* { dg-options "-fcheck-pointer-bounds -mmpx -fsanitize=address" } */
extern int x[];
void
foo ()
{
x[0] = 0;
}
|