March 28, 2015 [Issue 14366] New: DMD should not compile SDC test0174.d | ||||
---|---|---|---|---|
| ||||
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.d case 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: } } ``` -- |
Copyright © 1999-2021 by the D Language Foundation