Sign in
gnu
/
gcc
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
gcc.dg
/
ubsan
/
has-feature-ubsan.c
blob: e5da1cc56283130d3e51114875ff2055b5904c01 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-fsanitize=undefined" } */
#define
FEAT
(
x
)
(
__has_feature
(
x
)
&&
__has_extension
(
x
))
#if !FEAT (undefined_behavior_sanitizer)
#error
#endif