https://d.puremagic.com/issues/show_bug.cgi?id=11552
Summary: Missing label is not caught during semantic
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: accepts-invalid, CTFE, ice
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
Blocks: 602
--- Comment #0 from yebblies <[email protected]> 2013-11-19 22:18:29 EST ---
This compiles with no errors with -o-
void main()
{
goto label;
}
And this ices:
int test()
{
goto label;
return 1;
}
static assert(test());
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------