]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gdc.test/fail_compilation/e15876_3.d
d: Import dmd b8384668f, druntime e6caaab9, phobos 5ab9ad256 (v2.098.0-beta.1)
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / fail_compilation / e15876_3.d
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/e15876_3.d(25): Error: unexpected `(` in declarator
5 fail_compilation/e15876_3.d(25): Error: basic type expected, not `=`
6 fail_compilation/e15876_3.d(26): Error: found `End of File` when expecting `(`
7 fail_compilation/e15876_3.d(26): Error: found `End of File` instead of statement
8 fail_compilation/e15876_3.d(26): Error: expression expected, not `End of File`
9 fail_compilation/e15876_3.d(26): Error: found `End of File` when expecting `;` following `for` condition
10 fail_compilation/e15876_3.d(26): Error: expression expected, not `End of File`
11 fail_compilation/e15876_3.d(26): Error: found `End of File` when expecting `)`
12 fail_compilation/e15876_3.d(26): Error: found `End of File` instead of statement
13 fail_compilation/e15876_3.d(26): Error: found `End of File` when expecting `}` following compound statement
14 fail_compilation/e15876_3.d(26): Error: found `End of File` when expecting `)`
15 fail_compilation/e15876_3.d(26): Error: no identifier for declarator `d(_error_ = ()
16 {
17 for (; 0; 0)
18 {
19 }
20 }
21 )`
22 fail_compilation/e15876_3.d(26): Error: semicolon expected following function declaration
23 ---
24 */
25 d(={for