digitalmars.D.bugs - [Issue 15712] New: nested functions in unittests extern(C) not applied
- via Digitalmars-d-bugs (26/26) Feb 21 2016 https://issues.dlang.org/show_bug.cgi?id=15712
https://issues.dlang.org/show_bug.cgi?id=15712 Issue ID: 15712 Summary: nested functions in unittests extern(C) not applied Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: john.loughran.colvin gmail.com % cat test.d extern(C): unittest { extern(C) static void foo(){}; pragma(msg, typeof(foo)); pragma(msg, typeof(&foo)); } % dmd test.d void() void function() Seems that somehow the two extern(C)s cancel out. --
Feb 21 2016