☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail22.d
☽
☼
gcc/testsuite/gdc.test/fail_compilation/fail22.d
code
plain
raw
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/fail22.d(13): Error: variable name expected after type `char`, not `;`
5
---
6
*/
7
8
// infinite loop on DMD0.080
9
10
void main()
11
{
12
char[] bug = "Crash";
13
foreach(char ; bug) {}
14
}