]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/c-c++-common/pr66208.c
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 "argument 1 null" } */
9 foo (0); /* { dg-message "note: in expansion" } */