Debian Codegraph @

gcc/testsuite/c-c++-common/ubsan/attrib-5.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-fsanitize=undefined" } */
3
4 __attribute__((no_sanitize("foobar")))
5 static void
6 float_cast2 (void) { /* { dg-warning "attribute directive ignored" } */
7 volatile double d = 300;
8 volatile signed char c;
9 c = d;
10 }