1 /* { dg-do compile } */ 2 /* { dg-options "-fno-sanitize=all" } */ 3 4 volatile int ten = 10; 5 main()6 int main() { 7 volatile char x[10]; 8 x[ten]; 9 return 0; 10 } 11 12 /* { dg-final { scan-assembler-not "__asan_load" } } */ 13