Comment #0 by shammah.chancellor — 2015-03-28T17:04:40Z
```
> ../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:
}
}
```
Comment #1 by ag0aep6g — 2015-03-28T17:25:17Z
This is a warning at the moment.
Comment #2 by shammah.chancellor — 2015-03-28T17:27:17Z
What? No warning is printed. Why aren't warnings printed by default -- that seems bad.
Comment #3 by k.hara.pg — 2015-03-29T04:27:28Z
(In reply to Shammah Chancellor from comment #2)
> What? No warning is printed. Why aren't warnings printed by default --
> that seems bad.
It's current dmd behavior. So this issue is a duplication of enhancement 14367.
*** This issue has been marked as a duplicate of issue 14367 ***