Debian Codegraph @

gcc/testsuite/g++.dg/other/static4.C

raw
1 // { dg-options -Wno-pedantic }
2
3 void foo()
4 {
5 static void bar(); // { dg-error "3:cannot declare static function" }
6 }