﻿id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc
224	Cannot initialize static local constant	mlbrooks	Michael Brooks <mlbrooks@…>	"Similar to #182, except here, the user's declaration is lexically scoped as local.

{{{
int main() {
    static const char bar = -1;
    printf(""done\n"");
}
}}}

Expected (everywhere): Compiles successfully and runs with output `done`

Actual (gcc8, gcc10): Compiles successfully and segfaults on startup.

Actual (gcc6): as expected
"	defect	closed	minor	cfa-cc	1.0	fixed		
