The biggest issue in Dlang
Daniel Kozak
kozzi11 at gmail.com
Thu Sep 19 20:52:54 UTC 2019
On Thursday, 19 September 2019 at 20:50:30 UTC, Daniel Kozak
wrote:
> auto main()
> {
> return int(0);
> }
>
> for some reasons does not work WOW :-D
>
> this works ok:
> void main()
> {
> return other();
> }
>
> auto other()
> {
> return;
> }
>
> so I believe even this should work:
>
> auto main()
> {
> return;
> }
I am aware of https://dlang.org/spec/function.html#main, just
seems wierd auto does not work too
More information about the Digitalmars-d-learn
mailing list