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

          Issue ID: 20677
           Summary: Compilation of bad inline asm in speculative template
                    instantiation fails with no messages
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

//////////////// test.d ////////////////
void badCode()()
{
    asm { hcf; }
}

enum ok = __traits(compiles, badCode());
////////////////////////////////////////

Compiler exits with status 1 and no output.

--

Reply via email to