Debian Codegraph @

gcc/testsuite/c-c++-common/ubsan/pr94641.c

raw
1 /* PR c/94641 */
2 /* { dg-do compile } */
3 /* { dg-options "-fsanitize=undefined -Wpadded" } */
4
5 void foo (void *) __attribute__((nonnull));
6
7 void
8 bar (void *p)
9 {
10 foo (p);
11 }