| 1 |
/* PR c/112339 */ |
| 2 |
/* { dg-do compile { target { c++11 || c } } } */ |
| 3 |
/* { dg-options "-Wno-attributes=foo::no_sanitize -fsanitize=undefined" } */ |
| 4 |
/* { dg-additional-options "-std=c2x" { target c } } */ |
| 5 |
|
| 6 |
[[foo::no_sanitize("bounds")]] void |
| 7 |
foo (void) |
| 8 |
{ |
| 9 |
} |