[Issue 12979] New: Nothrow violation error is hidden by inline assembler
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Jun 23 22:22:39 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=12979
Issue ID: 12979
Summary: Nothrow violation error is hidden by inline assembler
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Keywords: accepts-invalid
Severity: critical
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: k.hara.pg at gmail.com
Test case:
void main() nothrow
{
throw new Exception("");
version(A) asm { nop; }
}
Without -version=A, the error "Exception is thrown but not caught" is properly
reported. But with -version=A, no error occurs.
--
More information about the Digitalmars-d-bugs
mailing list