mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
11 lines
156 B
D
11 lines
156 B
D
// Switch with no braces & empty case should compile
|
|
|
|
int main() {
|
|
int ob = 1;
|
|
|
|
final switch (ob)
|
|
case 0: case 1:
|
|
break;
|
|
|
|
return ob;
|
|
}
|