Debian Codegraph @

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

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