☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
other
/
static4.C
☽
☼
gcc/testsuite/g++.dg/other/static4.C
code
plain
raw
1
// { dg-options -Wno-pedantic }
2
3
void foo()
4
{
5
static void bar(); // { dg-error "3:cannot declare static function" }
6
}