https://issues.dlang.org/show_bug.cgi?id=24447 --- Comment #1 from dave287091 at gmail.com --- `extern int x = 3;` at file scope should be treated the same as `int x = 3;`. Section 6.9.2 defines the rules and has an example. --