1 /* 2 TEST_OUTPUT: 3 --- 4 fail_compilation/fail73.d(20): Error: case not in switch statement 5 --- 6 */ 7 8 // segfault DMD 0.120 9 // http://www.digitalmars.com/d/archives/digitalmars/D/bugs/4634.html 10 main()11void main() 12 { 13 int u=2; 14 15 switch(u) 16 { 17 case 1: 18 void j() 19 { 20 case 2: 21 u++; 22 } 23 break; 24 25 default: 26 break; 27 } 28 } 29 30