blob: 24b038e56a9333262f46da1af15ebd366a896db2 (
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;
}
|