* ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch
[official-gcc.git] / gcc / testsuite / c-c++-common / pr66208.c
blobd394c42b76db549583f2db22ef7ffd725529a721
1 /* { dg-do compile } */
2 /* { dg-options "-Wnonnull" } */
4 void foox (char*, ...) __attribute__ ((nonnull (1)));
5 #define foo(p) foox (p, "p is null") /* { dg-warning "null argument" } */
7 void baz (void)
9 foo (0); /* { dg-message "note: in expansion" } */