Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wnonnull1.C
blob: 0f610f449c72e420a9cfe3c1b18b782deb9cfd57 [
file
] [
log
] [
blame
]
// { dg-options -Wnonnull }
void
g
(
void
*)
__attribute__
((
nonnull
(
1
)));
void
f
(
void
*
p
)
{
g
(
1
==
1
?
p
:
0
);
}