Fix attrib-5.c test-case.
[official-gcc.git] / gcc / testsuite / c-c++-common / ubsan / attrib-5.c
blob209b5dd7d2b96fcd02b9ea60f933f39284cdf866
1 /* { dg-do compile } */
2 /* { dg-options "-fsanitize=undefined" } */
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;