https://ideone.com/5tn592
When DMD hits this:
__traits(compiles, {
asm {#$%^&*;}
});
it runs asmerr(…) which is supposed to print the error ( verror(…) ) and exit().
However, because __traits(compiles sets global.gag to 1, verror never prints anything, so the compiler exits with no error message whatsoever.
Comment #1 by dlang-bugzilla — 2015-10-30T11:16:38Z
(In reply to Vladimir Panteleev from comment #4)
> (In reply to Cauterite from comment #3)
> > Thanks, not sure why the pull didn't get posted here automatically.
>
> It's not, you have to post it yourself.
>
> http://wiki.dlang.org/Pull_Requests#Create_a_pull_request
Ah, whoops. I think the wording on that page is a bit ambiguous.
Comment #6 by dlang-bugzilla — 2015-10-30T11:49:24Z
(In reply to Cauterite from comment #5)
> I think the wording on that page is a bit ambiguous.
It's a wiki, fix it :)