☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
ubsan
/
has-feature-ubsan.c
☽
☼
gcc/testsuite/gcc.dg/ubsan/has-feature-ubsan.c
code
plain
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