repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wnonnull2.C
blob
6757437de126a669f25a5d3d362a2a3f8a9115e2
1
// PR c++/68767
2
// { dg-options "-Wnonnull" }
3
4
extern int len (const char*) __attribute__ ((__nonnull__ (1)));
5
6
int f (int x)
7
{
8
return len ((x ? "x" : 0) ? (x ? "x" : 0) : "x");
9
}