Debian Codegraph @

gcc/testsuite/gdc.test/fail_compilation/empty_statement.d

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/empty_statement.d(11): Error: use `{ }` for an empty statement, not `;`
5 fail_compilation/empty_statement.d(12): Error: use `{ }` for an empty statement, not `;`
6 fail_compilation/empty_statement.d(13): Error: use `{ }` for an empty statement, not `;`
7 ---
8 */
9 void main()
10 {
11 for (;;);
12 if (0);
13 while (0);
14 }