is this a bug ? mixin template static function missing!

learnfirst1 learnfirst1 at gmail.com
Fri Aug 10 11:35:36 UTC 2018


On Friday, 10 August 2018 at 10:24:55 UTC, Simen Kjærås wrote:
> On Friday, 10 August 2018 at 08:31:21 UTC, learnfirst1 wrote:
> Filed a bug:
> https://issues.dlang.org/show_bug.cgi?id=19153
>

template G(){
     pragma(crt_constructor) static extern(C) void init(){}
}
void main(){
     mixin G!(); // Line 5
     init();
}

same missing symbols.


More information about the Digitalmars-d-learn mailing list