]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.target/i386/pr71458.c
d36b61cbe02fad513dfb5bb5da37854caf8d5f67
[thirdparty/gcc.git] / gcc / testsuite / gcc.target / i386 / pr71458.c
1 /* { dg-do compile { target { ! x32 } } } */
2 /* { dg-options "-fcheck-pointer-bounds -mmpx -fsanitize=bounds" } */
3 /* { dg-error "'-fcheck-pointer-bounds' is not supported with '-fsanitize=bounds'" "" { target *-*-* } 0 } */
4
5 enum {} a[0];
6 void fn1(int);
7 void fn2() { fn1(a[-1]); }