Sign in
gnu
/
gcc
/
93ac832f1846e4867aa6537f76f510fab8e3e87d
/
.
/
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
);
}