mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
14 lines
215 B
D
14 lines
215 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail22.d(13): Error: variable name expected after type `char`, not `;`
|
|
---
|
|
*/
|
|
|
|
// infinite loop on DMD0.080
|
|
|
|
void main()
|
|
{
|
|
char[] bug = "Crash";
|
|
foreach(char ; bug) {}
|
|
}
|