[Issue 14426] New: Segfault for missing extern variable

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Apr 8 19:10:38 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14426

          Issue ID: 14426
           Summary: Segfault for missing extern variable
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: erictsau at gmail.com

$ cat test.d
extern (C): int i;
import std.stdio;
void main(){
  write(i);
}
$ dmd -run test
--- killed by signal 11
$ rdmd test
Segmentation fault (core dumped)

--


More information about the Digitalmars-d-bugs mailing list