Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
c-c++-common
/
ubsan
/
attrib-5.c
blob: 209b5dd7d2b96fcd02b9ea60f933f39284cdf866 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-fsanitize=undefined" } */
__attribute__
((
no_sanitize
(
"foobar"
)))
static
void
float_cast2
(
void
)
{
/* { dg-warning "attribute directive ignored" } */
volatile
double
d
=
300
;
volatile
signed
char
c
;
c
=
d
;
}