digitalmars.D.bugs - [Issue 14366] New: DMD should not compile SDC test0174.d
- via Digitalmars-d-bugs (32/33) Mar 28 2015 https://issues.dlang.org/show_bug.cgi?id=14366
https://issues.dlang.org/show_bug.cgi?id=14366 Issue ID: 14366 Summary: DMD should not compile SDC test0174.d Product: D Version: unspecified Hardware: x86 OS: Mac OS X Status: NEW Severity: normal Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: shammah.chancellor gmail.com ```../bin/sdc test0174.dcase 1: ^~~~~~~ test0174.d:9: error: Fallthrough is disabled, use goto case. ``` ```test0174.d //T compiles:no //T has-passed:yes // Must use goto case void main() { switch(0) { case 0: int i; case 1: default: } } ``` --
Mar 28 2015