☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
warn
/
format7.C
☽
☼
gcc/testsuite/g++.dg/warn/format7.C
code
plain
raw
1
// PR c++/50757
2
// { dg-options "-Wformat -Wno-nonnull" }
3
4
extern void *f (void *__s) __attribute__ ((__nonnull__ (1)));
5
6
int main()
7
{
8
void* const s = 0;
9
f(s);
10
}