https://issues.dlang.org/show_bug.cgi?id=13381
--- Comment #13 from [email protected] --- A case (from Issue 13576 ): immutable int[] a; static this() @nogc { a = [1]; } void main() {} dmd 2.067alpha gives: temp.d(3,9): Error: array literal in @nogc function _staticCtor1 may cause GC allocation --
