mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
13 lines
190 B
D
13 lines
190 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/staticforeach1.d(10): Error: must use labeled `break` within `static foreach`
|
|
---
|
|
*/
|
|
void main(){
|
|
for(;;){
|
|
static foreach(i;0..1){
|
|
break;
|
|
}
|
|
}
|
|
}
|