Debian Codegraph @

gcc/testsuite/gcc.dg/asan/has-feature-asan.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-fsanitize=address" } */
3 #define FEAT(x) (__has_feature (x) && __has_extension (x))
4 #if !FEAT (address_sanitizer)
5 #error
6 #endif