]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/c-c++-common/asan/no-redundant-odr-indicators-1.c
1 /* { dg-do compile } */
2 /* { dg-skip-if "" { *-*-* } { "*" } { "-O0" } } */
4 /* Local variables should not have odr indicators. */
6 /* Thread local variables should not have odr indicators. */
8 /* Externally visible variables should have odr indicators. */
15 /* { dg-final { scan-assembler-not "odr_asan\[\.\$\]a" } } */
16 /* { dg-final { scan-assembler-not "odr_asan\[\.\$\]b" } } */
17 /* { dg-final { scan-assembler "odr_asan\[\.\$\]c" } } */