Debian Codegraph @

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

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail10630.d(12): Error: cannot have `out` parameter of type `S` because the default construction is disabled
5 ---
6 */
7
8 struct S
9 {
10 @disable this();
11 }
12 void foo(out S) {}