1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/ice11982.d(16): Error: basic type expected, not `scope`
5 fail_compilation/ice11982.d(16): Error: found `scope` when expecting `;` following statement
6 fail_compilation/ice11982.d(16): Error: basic type expected, not `}`
7 fail_compilation/ice11982.d(16): Error: missing `{ ... }` for function literal
8 fail_compilation/ice11982.d(16): Error: C style cast illegal, use `cast(funk)function _error_()
9 {
10 }
11 `
12 fail_compilation/ice11982.d(16): Error: found `}` when expecting `;` following statement
13 fail_compilation/ice11982.d(17): Error: found `End of File` when expecting `}` following compound statement
14 ---
15 */
main()16 void main() { new scope ( funk ) function }
17