PR c++/85662
[official-gcc.git] / gcc / testsuite / c-c++-common / asan / no-asan-check-glob.c
blobc0505e3b12c734e0772a1d48ef9ab84316622815
1 /* { dg-options "--param asan-globals=0 -fdump-tree-asan1 -ffat-lto-objects" } */
2 /* { dg-do compile } */
3 /* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */
5 extern int a;
7 int foo ()
9 return a;
12 /* { dg-final { scan-tree-dump-times "ASAN_CHECK" 0 "asan1" } } */