Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/c-c++-common/pr66208.c @ 117:f81c5aa9f14f
fix
author | mir3636 |
---|---|
date | Tue, 28 Nov 2017 21:17:15 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-Wnonnull" } */ void foox (char*, ...) __attribute__ ((nonnull (1))); #define foo(p) foox (p, "p is null") /* { dg-warning "null argument" } */ void baz (void) { foo (0); /* { dg-message "note: in expansion" } */ }