mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-12 10:53:14 +01:00
Fixed initialization of function local static variables, with a non const initializer (now happens on first call using a global to make sure it only happens once.)
8 lines
61 B
D
8 lines
61 B
D
module templ2;
|
|
import templ1;
|
|
|
|
void main()
|
|
{
|
|
func1(1);
|
|
}
|