☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wnonnull1.C
☽
☼
gcc/testsuite/g++.dg/warn/Wnonnull1.C
code
plain
raw
1
// { dg-options -Wnonnull }
2
3
void g(void *) __attribute__ ((nonnull (1)));
4
void f(void *p)
5
{
6
g(1 == 1 ? p : 0);
7
}