blob: 94dc9b3d01117307fa0b9491feb49b12025cd07c [file] [log] [blame]
// { dg-options -Wno-pedantic }
void foo()
{
static void bar(); // { dg-error "3:cannot declare static function" }
}