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); fn2()7void fn2() { fn1(a[-1]); } 8