repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
c++, coroutines: Look through initial_await target exprs [PR110635].
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
pr66208.c
blob
fd67373042baca4991494090ee099da74b67d624
1
/* { dg-do compile } */
2
/* { dg-options "-Wnonnull" } */
3
4
void
foox
(
char
*, ...)
__attribute__
((
nonnull
(
1
)));
5
#define foo(p) foox (p,
"p is null"
)
/* { dg-warning "argument 1 null" } */
6
7
void
baz
(
void
)
8
{
9
foo
(
0
);
/* { dg-message "note: in expansion" } */
10
}